EndpointPermission::Port Property

 
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.

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

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

public:
property int Port {
	int 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: