System.Net.SocketPermission: Method Members

The methods of System.Net.SocketPermission are listed below. For a list of all members, see the SocketPermission Members list.

See Also: Inherited members from System.Security.CodeAccessPermission

Public Methods

AddPermission(NetworkAccess, TransportType, string, int)

Adds a permission to the set of permissions for a transport address.

override
Copy() : System.Security.IPermission

Creates a copy of a System.Net.SocketPermission instance.

override
FromXml(System.Security.SecurityElement)

Reconstructs a System.Net.SocketPermission instance for an XML encoding.

override
Intersect(System.Security.IPermission) : System.Security.IPermission

Returns the logical intersection between two System.Net.SocketPermission instances.

override
IsSubsetOf(System.Security.IPermission) : bool

Determines if the current permission is a subset of the specified permission.

IsUnrestricted() : bool

Checks the overall permission state of the object.

override
ToXml() : System.Security.SecurityElement

Creates an XML encoding of a System.Net.SocketPermission instance and its current state.

override
Union(System.Security.IPermission) : System.Security.IPermission

Returns the logical union between two System.Net.SocketPermission instances.