This project has moved. For the latest updates, please go here.

Programatcally detect an VeraCrypt encrypted system partition or volume mounted?

Topics: Users Discussion
Aug 19, 2016 at 2:04 PM
Edited Aug 19, 2016 at 2:17 PM
Hi,
Is there any simple source code (that can be portable to another programming language) that can I detect if there is any encrypted system partition or volume mounted?

Thanks.
Coordinator
Aug 19, 2016 at 3:26 PM
Hi,

I have created a command line tool called VeraStatus that can be used to query information about VeraCrypt volumes and system encryption. You can look at its source code to see how such query is implemented (C/C++): https://github.com/veracrypt/VeraStatus

As for porting to a programming language other than C/C++, it is possible as long as you can make a call to Windows functions CreateFile and DeviceIoControl.
Aug 22, 2016 at 7:13 PM
It works perfectly!
Thanks for your attention.