System.Net.WebPermissionAttribute Members

The members of System.Net.WebPermissionAttribute are listed below.

See Also: Inherited members from System.Security.Permissions.CodeAccessSecurityAttribute

Public Constructors

Initializes a new instance of the System.Net.WebPermissionAttribute class with a value that specifies the security actions that can be performed on this class.

Public Properties

Acceptstring.

Gets or sets the URI string accepted by the current System.Net.WebPermissionAttribute.

AcceptPatternstring.

Gets or sets a regular expression pattern that describes the URI accepted by the current System.Net.WebPermissionAttribute.

Connectstring.

Gets or sets the URI connection string controlled by the current System.Net.WebPermissionAttribute.

ConnectPatternstring.

Gets or sets a regular expression pattern that describes the URI connection controlled by the current System.Net.WebPermissionAttribute.

Public Methods

override
CreatePermission() : System.Security.IPermission

Creates and returns a new instance of the System.Net.WebPermission class.