Mono Class Library: Overview

System.Net.SocketPermission: Members

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

See Also: Inherited members from System.Security.CodeAccessPermission

Public Constructors

Constructs and initializes a new instance of the System.Net.SocketPermission class with the specified System.Security.Permissions.PermissionState value.
Constructs and initializes a new instance of the System.Net.SocketPermission class.

Public Fields

const
AllPortsint (-1). Defines a constant value that represents all ports.

Public Properties

[read-only]
AcceptListIEnumerator. Documentation for this section has not yet been entered.
[read-only]
ConnectListIEnumerator. Documentation for this section has not yet been entered.

Public Methods

AddPermission(NetworkAccess, TransportType, string, int)
Documentation for this section has not yet been entered.
override
Copy() : System.Security.IPermission
Returns a new System.Net.SocketPermission object containing the same values as the current instance.
override
FromXml(System.Security.SecurityElement)
Reconstructs the state of a System.Net.SocketPermission object using the specified XML encoding.
override
Intersect(System.Security.IPermission) : System.Security.IPermission
Returns a System.Net.SocketPermission object that is the intersection of the current instance and the specified object.
override
IsSubsetOf(System.Security.IPermission) : bool
Determines whether the current instance is a subset of the specified object.
IsUnrestricted() : bool
Documentation for this section has not yet been entered.
override
ToXml() : System.Security.SecurityElement
Returns the XML encoding of the current instance.
override
Union(System.Security.IPermission) : System.Security.IPermission
Returns a System.Net.SocketPermission that is the union of the current instance and the specified object.