How to get the current UAC mode
Can we check what is the current UAC type set in the device before running the application through C#.
I got to know the approach to check whether the current user is Administrator or not. But, I also need to know the UAC type set (i.e. default/never notify) for some internal logic.
Is it possible? Please help.
This is an article about self-elevation and checking what level your program runs in. However due to security reasons I'm afraid you won't be able to retrieve the UAC level that is set.