INapEnforcementClientConnection 介面

注意

從 Windows 10 開始,無法使用網路存取保護平臺

INapEnforcementClientConnection提供允許用戶端連線管理的方法。

注意

INapEnforcementClientConnection2 會繼承此介面的所有方法,因此應該改用。

成員

INapEnforcementClientConnection介面繼承自IUnknown介面。 INapEnforcementClientConnection 也有下列類型的成員:

方法

INapEnforcementClientConnection介面具有這些方法。

方法 描述
INapEnforcementClientConnection::GetConnectionId 取得用戶端的連接識別碼。
INapEnforcementClientConnection::GetCorrelationId 取得用來讓 SoH 要求和 SoH-response 相互關聯的識別碼。
INapEnforcementClientConnection::GetEnforcerPrivateData 強制程式用來取得私人資料。
INapEnforcementClientConnection::GetFlags 取得旗標的值,這個旗標會區分第一次回應與強制執行者快取的 SoHRequests 回應。
INapEnforcementClientConnection::GetIsolationInfo 已使用 取得用戶端的隔離資訊。
INapEnforcementClientConnection::GetMaxSize 取得此用戶端的 SoH 封包大小上限。
INapEnforcementClientConnection::GetPrivateData NapAgent 用來取得私人資料。
INapEnforcementClientConnection::GetSoHRequest 取得 SoH 要求。
INapEnforcementClientConnection::GetSoHResponse 取得強制用戶端收到的SoH-Response。
INapEnforcementClientConnection::GetStringCorrelationId 取得 CorrelationId 的字串版本。 主要用於記錄用途。
INapEnforcementClientConnection::Initialize 初始化連接。
INapEnforcementClientConnection::SetConnectionId 設定用戶端的連接識別碼。
INapEnforcementClientConnection::SetCorrelationId 設定用來讓 SoH 要求和 SoH-response 相互關聯的識別碼。
INapEnforcementClientConnection::SetEnforcerPrivateData 強制程式用來設定私人資料。
INapEnforcementClientConnection::SetFlags 設定旗標,這個旗標會區分第一次回應與強制執行者快取的 SoHRequests 回應。
INapEnforcementClientConnection::SetIsolationInfo NapAgent 用來設定用戶端的隔離資訊。
INapEnforcementClientConnection::SetMaxSize 設定此用戶端的 SoH 封包大小上限。
INapEnforcementClientConnection::SetPrivateData NapAgent 用來設定私人資料。
INapEnforcementClientConnection::SetSoHRequest 設定 SoH 要求。
INapEnforcementClientConnection::SetSoHResponse 設定SoH-Response,並且由強制用戶端在接收封包時使用。

規格需求

需求
最低支援的用戶端
Windows Vista [僅限傳統型應用程式]
最低支援的伺服器
Windows Server 2008 [僅限傳統型應用程式]
標頭
NapEnforcementClient.h
Idl
NapEnforcementClient.idl
DLL
Qagent.dll

另請參閱

NAP 介面

NAP 參考