How do I read performance counters in a .NET application without the application running as an administrator?
The application is a Windows Service. The account it will run under is known at install time, so in theory I could add any non-admin permissions to that account at that time.
Can you add that account to the system's Performance Monitor Users group during install?
Reference:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.