This documentation is archived and is not being maintained.

EndpointPermission.Port Property

Gets the network port number associated with this endpoint.

[Visual Basic]
Public ReadOnly Property Port As Integer
public int Port {get;}
public: __property int get_Port();
public function get Port() : int;

Property Value

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

EndpointPermission Class | EndpointPermission Members | System.Net Namespace