Detect when a new virtual drive is created
问题 How can I know what trueCrypt volumes are mounted on a computer? Note I already know what files can be mounted. In other words the only volumes that can be mounted are: C:\Vol1.tc , C:\Vol2.tc and C:\Vol3.tc . How do I know when a volume is dismounted? I manage to do that by using the .net class FileSystemWatcher . Every time I dismount a volume I notice that the event FileSystemWatcher.Changed fires. How do I know when a volume is mounted? Here is where I am having trouble! Do I constantly