IRDPSRAPITcpConnectionInfo::PeerIP property
Retrieves the remote IP address that is being used by the sharer or by the viewer in communication. For example, the sharer can retrieve the IP address of the viewer that is being used for communication and vice versa.
This property is read-only.
Syntax
HRESULT get_PeerIP( [out] BSTR *pbstrIP );
Property value
A BSTR string that returns the peer IP address. When you have finished using this buffer, free the memory by calling the SysFreeString function.
Error codes
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also