Url Property
Collapse the table of content
Expand the table of content

UrlIdentityPermission.Url Property


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

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

member Url : string with get, set

Property Value

Type: System.String

A URL representing the identity of Internet code.

Exception Condition

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
© 2016 Microsoft