Property RawPort
RawPort
Get or set the raw value of the endpoint's port number. This is only useful to interface with low-level native libraries. Prefer Port in most circumstances, since that value will always match the endianness of the current platform.
Declaration
[Obsolete("Use Port instead, and use standard C# APIs to convert to/from network byte order.")]
public ushort RawPort { get; set; }
Property Value
Type | Description |
---|---|
ushort | Port value in network byte order. |