UrlIdentityPermission.Url Property

 

Gets or sets a URL representing the identity of Internet code.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public string Url { get; set; }

Property Value

Type: System.String

A URL representing the identity of Internet code.

Exception Condition
NotSupportedException

The URL cannot be retrieved because it has an ambiguous identity.

The complete URL is considered, including the protocol (HTTP, HTTPS, FTP) and the file, for example: http://www.fourthcoffee.com/process/grind.htm/.

URLs can be matched exactly or by a wildcard in the final position, for example: http://www.fourthcoffee.com/process/*.

.NET Framework
Available since 1.1
Return to top
Show: