INapEnforcementClientConnection

INapEnforcementClientConnection interface

Note  The Network Access Protection platform is not available starting with Windows 10
 

The INapEnforcementClientConnection provides methods that allow for client connection management.

Note  INapEnforcementClientConnection2 inherits all the methods of this interface and should be used instead.
 

Members

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

Methods

The INapEnforcementClientConnection interface has these methods.

MethodDescription
INapEnforcementClientConnection::GetConnectionId

Gets the connection ID of the client.

INapEnforcementClientConnection::GetCorrelationId

Gets the ID used to correlate SoH-requests and SoH-responses.

INapEnforcementClientConnection::GetEnforcerPrivateData

Used by the enforcer to get private data.

INapEnforcementClientConnection::GetFlags

Gets the value of the flag that differentiates first-time responses from responses due to SoHRequests cached by the enforcers.

INapEnforcementClientConnection::GetIsolationInfo

Used get the isolation information of the client.

INapEnforcementClientConnection::GetMaxSize

Gets the maximum size of the SoH packet for this client.

INapEnforcementClientConnection::GetPrivateData

Used by the NapAgent to get private data.

INapEnforcementClientConnection::GetSoHRequest

Gets the SoH Request.

INapEnforcementClientConnection::GetSoHResponse

Gets the SoH-Response received by the enforcement client.

INapEnforcementClientConnection::GetStringCorrelationId

Gets the string version of the CorrelationId. Used primarily for logging purposes.

INapEnforcementClientConnection::Initialize

Initializes the connection.

INapEnforcementClientConnection::SetConnectionId

Sets the connection ID of the client.

INapEnforcementClientConnection::SetCorrelationId

Sets the ID used to correlate SoH-requests and SoH-responses.

INapEnforcementClientConnection::SetEnforcerPrivateData

Used by the enforcer to set private data.

INapEnforcementClientConnection::SetFlags

Sets the flag that differentiates first-time responses from responses due to SoHRequests cached by enforcers.

INapEnforcementClientConnection::SetIsolationInfo

Used by the NapAgent to set the isolation information of the client.

INapEnforcementClientConnection::SetMaxSize

Sets the maximum size of the SoH packet for this client.

INapEnforcementClientConnection::SetPrivateData

Used by the NapAgent to set private data.

INapEnforcementClientConnection::SetSoHRequest

Sets the SoH Request.

INapEnforcementClientConnection::SetSoHResponse

Sets the SoH-Response and is used by the enforcement client on receiving a packet.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

NapEnforcementClient.h

IDL

NapEnforcementClient.idl

DLL

Qagent.dll

See also

NAP Interfaces
NAP Reference

 

 

Community Additions

ADD
Show:
© 2016 Microsoft