ITSGAccountingEngine interface (tsgpolicyengine.h)

Exposes methods that provide information about the creation or closing of sessions for a connection. Implement this interface when you want to receive this information from Remote Desktop Gateway (RD Gateway).

Inheritance

The ITSGAccountingEngine interface inherits from the IUnknown interface. ITSGAccountingEngine also has these types of members:

Methods

The ITSGAccountingEngine interface has these methods.

 
ITSGAccountingEngine::DoAccounting

Provides information about the creation or closing of sessions for a connection.

Remarks

Your authorization plug-in can use this interface to retrieve useful information about clients, client computers, and remote sessions. For example, your plug-in can track the amount of time that a client is connected and the amount of data transferred during that session.

For a sample that uses the ITSGAccountingEngine interface, see the Remote Desktop Gateway Pluggable Authentication and Authorization sample.

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header tsgpolicyengine.h