IInetLogInformation::GetClientHostName
The IInetLogInformation::GetClientHostName method obtains the IP address of the client.
virtual LPSTR STDMETHODCALLTYPE GetClientHostName(
IN PCHAR pszClientHostName,
IN PDWORD pcbSize
);
Parameters
pszClientHostName
[in] Name of the computer that sent the request that triggered the logged event.pcbSize
[in] Size of the pszClientHostName parameter.
Remarks
Logging modules should query for this method if a server instance has set the LogExtFileClientIp flag of the LogExtFileFlags metabase identifier.
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS
Header: Declared in ilogobj.hxx.