Method GetPortID GetPortID() Gets the port identifier. Declaration public virtual long GetPortID() Returns Type Description long UniqueId of the port.