Share via


SetBySecureHostingServiceMode method of the MSFT_HgsClientConfiguration class

Modifies the configuration of the Host Guardian Service client.

Syntax

uint32 SetBySecureHostingServiceMode(
  [in]  string                      KeyProtectionServerUrl,
  [in]  string                      AttestationServerUrl,
  [out] MSFT_HgsClientConfiguration cmdletOutput
);

Parameters

KeyProtectionServerUrl [in]

URL for the key protection server.

AttestationServerUrl [in]

URL for the attestation server.

cmdletOutput [out]

Returns an embedded instance of a MSFT_HgsClientConfiguration class that represents the configuration of the Host Guardian Service client.

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Hgs
MOF
HgsClientWmi.mof
DLL
HgsClientWmi.dll

See also

MSFT_HgsClientConfiguration