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. [Edit]

public WebPermission (NetworkAccess access, string uriString)

Parameters

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

Exceptions

TypeReason
ArgumentNullExceptionuriString is null . [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

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