Created
May 14, 2014 22:24
-
-
Save sharpjs/95500bfa815c1a26fc90 to your computer and use it in GitHub Desktop.
Example Per-Project AssemblyInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Reflection; | |
using System.Security; | |
// General Information | |
[assembly: AssemblyTitle ("My Utility")] | |
[assembly: AssemblyDescription ("A neat program that does a few useful things.")] | |
// Security | |
// | |
// All code is transparent. | |
// The entire assembly will not do anything privileged or unsafe. | |
// http://msdn.microsoft.com/en-us/library/dd233102.aspx | |
// | |
[assembly: SecurityTransparent] | |
// Security | |
// | |
// All code defaults to transparent. | |
// However, individual types and members can have other attributes. | |
// http://msdn.microsoft.com/en-us/library/dd233102.aspx | |
// | |
[assembly: AllowPartiallyTrustedCallers] | |
// Security | |
// | |
// All types and members are security-critical, | |
// except where being security-critical violates an inheritance rule. | |
// http://msdn.microsoft.com/en-us/library/dd233102.aspx | |
// | |
// (default behavior; no security attribute) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment