TwclNlmConnection.GetAdapterId(TGUID) Method

Reads the ID of the network adapter used by this connection.

Namespace: wclNlm
public
 function GetAdapterId(out Id: TGUID): Integer;

Parameters

Id
Type: TGUID

On output contains a GUID that specifies the adapter ID of the TCP/IP interface used by this network connection.

Return Value

Type: Integer

If the function succeeded the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.