I have a Windows Form application, or Console Application like ImpersonatorTester.Executor.exe.
Now, this steps:
- Right-click about ImpersonatorTester.Executor.exe file.
- Select Properties.
- Select Compatibility Tab.
Option Run this program as an administrator
Option Change settings for all users
Compatibility for all users Tab.
Option Run this program as an administrator
Now,
How can I get programmatically if an application EXE has "Run this program as an administrator" value ?
and "Run this program as an administrator" value for All Users ?