The Url class represents evidence of the URL from which a code assembly originates. The UrlIdentityPermission derives from this evidence and can be used to confirm that calling code comes from a certain URL.
Object
Url
[Visual Basic] NotInheritable Public Class Url Implements IIdentityPermissionFactory [C#] public sealed class Url : IIdentityPermissionFactory [C++] public __gc __sealed class Url : public IIdentityPermissionFactory [JScript] public class Url implements IIdentityPermissionFactory
The security policy system uses URL together with other evidence about a code assembly to determine what permissions the code should be granted.
Namespace: System.Security.Policy
Assembly: mscorlib.dll