NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Site Class

The Site class represents evidence of the web site from which a code assembly originates. The SiteIdentityPermission derives from this evidence and can be used to confirm that calling code comes from a certain web site.

Object
   Site

[Visual Basic]
NotInheritable Public Class Site
   Implements IIdentityPermissionFactory
[C#]
public sealed class Site : IIdentityPermissionFactory
[C++]
public __gc __sealed class Site : public IIdentityPermissionFactory
[JScript]
public class Site implements IIdentityPermissionFactory

Remarks

The security policy system uses web site together with other evidence about a code assembly to determine what permissions the code should be granted.

Requirements

Namespace: System.Security.Policy

Assembly: mscorlib.dll

See Also

Site Members | System.Security.Policy Namespace