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
精彩评论