SocketPermission Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the SocketPermission class.

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSocketPermission(NetworkAccess, TransportType, String, Int32)

Initializes a new instance of the SocketPermission class for the given transport address with the specified permission.

System_CAPS_pubmethodSocketPermission(PermissionState)

Initializes a new instance of the SocketPermission class that allows unrestricted access to the Socket or disallows access to the Socket.

Return to top
Show: