EndpointPermission.Port Property

 

Gets the network port number that is associated with this endpoint.

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

public int Port { get; }

Property Value

Type: System.Int32

The network port number that is associated with this request, or SocketPermission.AllPorts.

.NET Framework
Available since 1.1
Return to top
Show: