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
[C#]
public int Port {get;}
[C++]
public: __property int get_Port();
[JScript]
public function get Port() : int;

Property Value

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

Requirements

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

Show: