GetEncryptionMethod method of the Win32_EncryptableVolume class
The GetEncryptionMethod method of the Win32_EncryptableVolume class indicates the encryption algorithm and key size used on the volume.
Syntax
uint32 GetEncryptionMethod( [out] uint32 EncryptionMethod, [out] string SelfEncryptionDriveEncryptionMethod );
Parameters
- EncryptionMethod [out]
-
Type: uint32
An unsigned integer that specifies the encryption algorithm and key size used on the volume.
- SelfEncryptionDriveEncryptionMethod [out]
-
Type: string
The encryption algorithm is configured on the self-encrypting drive. A null string means that either BitLocker is using software encryption or no encryption method is reported.
Return value
Type: uint32
This method returns one of the following codes or another error code if it fails.
| Return code/value | Description |
|---|---|
|
The method was successful. |
Remarks
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows SDK. They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).
Requirements
|
Minimum supported client | Windows Vista Enterprise, Windows Vista Ultimate [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Namespace |
\\.\root\CIMV2\Security\MicrosoftVolumeEncryption |
|
MOF |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012