System.Net.SocketPermissionAttribute Members

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

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

Public Constructors

Public Properties

Accessstring.

Gets or sets the network access method that is allowed by this System.Net.SocketPermissionAttribute.

Hoststring.

Gets or sets the DNS host name or IP address that is specified by this System.Net.SocketPermissionAttribute.

Portstring.

Gets or sets the port number that is associated with this System.Net.SocketPermissionAttribute.

Transportstring.

Gets or sets the System.Net.TransportType that is specified by this System.Net.SocketPermissionAttribute.

Public Methods

override
CreatePermission() : System.Security.IPermission

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