How to detect whether Vista UAC is enabled?

后端 未结 8 1455
渐次进展
渐次进展 2021-01-31 04:48

I need my application to behave differently depending on whether Vista UAC is enabled or not. How can my application detect the state of UAC on the user\'s computer?

8条回答
  •  天命终不由人
    2021-01-31 05:06

    AFAIK, UAC is apolicy setting on the local user or group. So you can read this property from within .Net. Sorry for not having more details but I hope this helps

提交回复
热议问题