Partager via


ConvertToByRawBytes method of the MSFT_HgsKeyProtector class

Converts a byte array of an existing key protector to a HGS key protector object.

Syntax

uint32 ConvertToByRawBytes(
  [in]  uint8                Bytes[],
  [out] MSFT_HgsKeyProtector cmdletOutput
);

Parameters

Bytes [in]

A byte array of an existing key protector from which to generate a HGS key protector object.

cmdletOutput [out]

On success, returns a MSFT_HgsKeyProtector object containing the new key protector.

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_HgsKeyProtector