Share via


IInetLogInformation

The IInetLogInformation COM interface is implemented and exposed by IIS. This interface can be used by your custom logging module to retrieve specific types of information about the current logging event.

The following methods are exposed by IIS.

Methods in Vtable Order

The IInetLogInformation interface inherits the methods of the standard COM interface IUnknown.

The IInetLogInformation interface defines the following methods.

Method

Description

GetBytesRecvd

Returns the number of bytes received from the client

GetBytesSent

Returns the number of bytes sent by the client

GetClientHostName

Returns the IP address of the client

GetClientUserName

Returns the user name of the client

GetComputerName

Returns the local computer to which the logging module is applied

GetExtraHTTPHeaders

Returns a null-delimited list of parameters requested by the logging module from the Web server

GetOperation

Retrieves the function to be called

GetParameters

Retrieves the parameters related to the current operation

GetPortNumber

Retrieves the number of the port the client is connected to

GetProtocolStatus

Retrieves the protocol dependent status code returned to the client

GetServerAddress

Obtains the IP address of the server that is having its activity recorded by the logging module

GetSiteName

Obtains the name of the server instance that is being logged

GetTarget

Obtains the target for the current operation

GetTimeForProcessing

Retrieves the number of milliseconds it took for the operation to complete

GetVersionString

Retrieves the version of the HTTP protocol used for the request

GetWin32Status

Retrieves the Win32 status code of the request

All interface, function, and data structure definitions are provided in the header file ilogobj.hxx.

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.