开发者

How can I get a set of permissions requested by an assembly?

I want to ask user to grant requested permissions or prev开发者_开发技巧ent assembly from loading.


You can use the Standard User Analyzer tool to look for UAC issues:

http://technet.microsoft.com/en-us/library/cc766021(WS.10).aspx

If your application requires elevation, you can embed an application manifest specifying requestedExecutionLevel to prompt the user for permission:

http://msdn.microsoft.com/en-us/library/bb756929.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜