Url Class
Provides the URL from which a code assembly originates as evidence for policy evaluation. This class cannot be inherited.
For a list of all members of this type, see Url Members.
System.Object
System.Security.Policy.Url
[Visual Basic] <Serializable> NotInheritable Public Class Url Implements IIdentityPermissionFactory [C#] [Serializable] public sealed class Url : IIdentityPermissionFactory [C++] [Serializable] public __gc __sealed class Url : public IIdentityPermissionFactory [JScript] public Serializable class Url implements IIdentityPermissionFactory
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The presence of Url evidence produces a UrlIdentityPermission in the grant set. If there is a Demand for UrlIdentityPermission, the UrlIdentityPermission that corresponds to the Publisher 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.
Requirements
Namespace: System.Security.Policy
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)