Provides the URL from which a code assembly originates as evidence for policy evaluation. This class cannot be inherited.
See Also: Url Members
The presence of System.Security.Policy.Url evidence produces a System.Security.Permissions.UrlIdentityPermission in the grant set. If there is a System.Security.CodeAccessPermission.Demand for System.Security.Permissions.UrlIdentityPermission, the System.Security.Permissions.UrlIdentityPermission that corresponds to the System.Security.Policy.Url evidence is compared to the demanded permission.
The complete URL is considered, including the protocol (HTTP, HTTPS, FTP) and the file. For example, http://www.fourthcoffee.com/process/grind.htm is a complete URL.
URLs can be matched exactly or by a wildcard in the final position. For example, http://www.fourthcoffee.com/process/* is a wildcard URL.