Detect BitLocker programmatically from Rust without admin privileges

Viewed 124

similar to this thread:

Detect BitLocker programmatically from c# without admin

I want to get the bitlocker status of a drive programmatically in Rust (without admin privileges). Is there a way, to check the bitlocker status without admin privileges, similar to the thread above? My goal is a function like:


use std::io;

// drive_letter could be something like "C"
fn is_bde_active(drive_letter: String) -> io::Result<bool> {
    [...]

}

I'm not very familiar with winapi or windows unfortunately. I have not found any IShellProperty in the winapi documentation.

0 Answers
Related