Edit

Share via


SocketPermission.AllPorts Field

Definition

Defines a constant that represents all ports.

public: int AllPorts = -1;
public const int AllPorts = -1;
val mutable AllPorts : int
Public Const AllPorts As Integer  = -1

Field Value

Value = -1

Remarks

This field is read-only. The value of this field is -1.

Applies to