IRDPSRAPITcpConnectionInfo::get_LocalPort method (rdpencomapi.h)

Retrieves the local port that is being used by the sharer or by the viewer in communication. For example, the sharer can retrieve its own port that is being used to communicate with the viewer and vice versa.

This property is read-only.

Syntax

HRESULT get_LocalPort(
  long *plPort
);

Parameters

plPort

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header rdpencomapi.h
DLL RdpEncom.dll

See also

IRDPSRAPITcpConnectionInfo