Export (0) Print
Expand All

UrlIdentityPermission.Url Property

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

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

'Declaration
Public Property Url As String

Property Value

Type: System.String
A URL representing the identity of Internet code.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft