Mono Class Library: System.Net.WebPermission Overview | Members

System.Net.WebPermission Constructor

Constructs and initializes a new instance of the System.Net.WebPermission class that secures access to the specified URI.

public WebPermission (NetworkAccess access, string uriString)

Parameters

access
A System.Net.NetworkAccess value indicating the type of access to secure.
uriString
A string that represents the URI to grant access rights to.
Note: For more information on the format of this string, see Uri.

Exceptions

TypeReason
ArgumentNullExceptionuriString is null .

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0