System.Security.Permissions (mscorlib.dll)sealed class
public sealed class SiteIdentityPermission : System.Security.CodeAccessPermission : IBuiltInPermission {
// Public Constructors
   public SiteIdentityPermission(PermissionState state);
   public SiteIdentityPermission(string site);
// Public Instance Properties
   public string Site{set; get; }
// Public Instance Methods
   public override IPermission Copy(  );        
// overrides CodeAccessPermission
   public override void FromXml(System.Security.SecurityElement esd);
 // overrides CodeAccessPermission
   public override IPermission Intersect(System.Security.IPermission target);
 // overrides CodeAccessPermission
   public override bool IsSubsetOf(System.Security.IPermission target);
 // overrides CodeAccessPermission
   public override SecurityElement ToXml(  );   
// overrides CodeAccessPermission
   public override IPermission Union(System.Security.IPermission target);
 // overrides CodeAccessPermission

The SiteIdentityPermission class represents the System.Security.Policy.Site evidence of an assembly or application domain, allowing code to invoke imperative security statements based on the web site from which code originated. For example, code could ensure that only assemblies run from the site have access to protected functionality.

To create a SiteIdentityPermission object representing a specific source web site, pass a System.String containing the site address to the SiteIdentityPermission constructor; the site can include the "*" wildcard character. To access or modify the web site represented by a SiteIdentityPermission, use the Site property.


System.Object System.Security.CodeAccessPermission(System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.IStackWalk) SiteIdentityPermission(IBuiltInPermission)

    Part V: API Quick Reference