GetHardwareEncryptionStatus method of the Win32_EncryptableVolume class
The GetHardwareEncryptionStatus method of the Win32_EncryptableVolume class determines whether the volume is located on a drive that supports or can support hardware encryption.
Syntax
uint32 GetHardwareEncryptionStatus(
[out] uint32 HardwareEncryptionStatus
);
Parameters
-
HardwareEncryptionStatus [out]
-
Specifies whether the drive can support hardware encryption. This can be one of the following values.
Value Meaning - Not supported
- 0
Hardware encryption is not supported. - No protection
- 1
Drive encryption is not supported. - Uses software
- 2
The encryption method is software-based. - Uses hardware
- 3
The drive supports hardware encryption.
Return value
This function returns zero (0) if the volume is compatible with BitLocker hardware encryption. Otherwise, the function returns an error.
Return code/value | Description |
---|---|
|
The volume is compatible with BitLocker hardware encryption. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 Enterprise, Windows 8 Pro [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Namespace |
Root\CIMV2\Security\MicrosoftVolumeEncryption |
MOF |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for