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
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?

Aug 19, 2016 at 3:26 PM

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++):

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.