Provides the Web site from which a code assembly originates as evidence for policy evaluation. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
Initializes a new instance of theclass with the website from which a code assembly originates.
Creates a new object that is a copy of the current instance.(Overrides EvidenceBase.Clone().)
Creates an equivalent copy of theobject.
Creates a newobject from the specified URL.
Creates an identity permission that corresponds to the currentobject.
Compares the current Object.Equals(Object).)to the specified object for equivalence.(Overrides
Returns the hash code of the current website name.(Overrides Object.GetHashCode().)
Returns a string representation of the current Object.ToString().)object.(Overrides
The presence of SiteIdentityPermission in the grant set. If there is a Demand for SiteIdentityPermission, the SiteIdentityPermission that corresponds to the evidence will be compared with the demanded permission.evidence produces a
Site identity is defined for code from URLs with any protocol except FILE. A site is the string between the "//" after the protocol of a URL and the following "/", if present. For example, www.fourthcoffee.com is the site identity in the URL http://www.fourthcoffee.com/process/grind.htm. This excludes port numbers. If a given URL is http://www.fourthcoffee.com:8000/, the site is www.fourthcoffee.com, not www.fourthcoffee.com:8000.
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.