Gets or sets the port number of the endpoint.
Returns An integer value in the range IPEndPoint.MinPort to IPEndPoint.MaxPort indicating the port number of the endpoint.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic int Port { get; set; }Property Value
Int32
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | The value that was specified for a set operation is less than IPEndPoint.MinPort
or greater than IPEndPoint.MaxPort. |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also