See here:
EventLog.DeleteEventSource Method
Are you having the required permissions to access the registry?
So also see this one :
EventLogPermissionAccess Enumeration
Mark as answer if this solves your problem. ... Best Regards D. Chatterjee MCA, RERF
No comments:
Post a Comment