WebPermission
Controls rights to access HTTP Internet resources.
This property returns an enumeration of a single accept permissions held by this WebPermission. The possible objects types contained in the returned enumeration are String and Regex.
This property returns an enumeration of a single connect permissions held by this WebPermission. The possible objects types contained in the returned enumeration are String and Regex.
public WebPermission()
Creates a new instance of the WebPermission class.
Initializes a new instance of the WebPermission class with the specified access rights for the specified URI.
Initializes a new instance of the WebPermission class with the specified access rights for the specified URI regular expression.
Creates a new instance of the WebPermission class that passes all demands or fails all demands.
Adds the specified URI string with the specified access rights to the current WebPermission.
Adds the specified URI with the specified access rights to the current WebPermission.
Checks the overall permission state of the WebPermission.