开发者

Check for C# app needed permissions

Is there any util or any other way to check what permissions a C# application needs to run without problems?

I have a somewhat big application code that i'm not familiar with and i though开发者_StackOverflow社区t if there's a way to check it without going through all the code and logic it will save me a lot of time..

Thanks.


This may be too crude a tool, but the .NET Framework SDK includes a tool called permcalc (Permission Calculator):

The Minimum Grant Set Determination tool calculates the minimum permission set required to run an application by examining all applicable code paths of all application assemblies and dependency assemblies. The tool returns a permission set per application assembly.

See http://msdn.microsoft.com/en-us/library/ms165077(VS.80).aspx for more details and to see if it will be applicable for your scenario.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜