Share via


IRTCClient2::put_ClientName

The put_ClientName method specifies the name that will be used in the User-Agent header.

HRESULT put_ClientName(BSTRbstrClientName);

Parameters

  • bstrClientName
    BSTR containing the name that will be used in the User-Agent header.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_OUTOFMEMORY Insufficient memory to perform this operation.

Remarks

The server uses the information supplied in this method along with the information supplied by the IRTCClient2::put_ClientCurVer method for the User-Agent header of the SIP request sent to the server.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient2 is defined as 0C91D71D-1064-42da-BFA5-572BEB8EEA84.

See Also

IRTCClient2