Port Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the port number of the endpoint.

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

public int Port { get; }

Property Value

Type: System..::..Int32
An integer value in the range MinPort to MaxPort indicating the port number of the endpoint.

Show: