I need to load a file from an umounted TrueCrypt disk into memory. Is there any way to do this programmatically? Does TrueCrypt offer an API?
The way I believe is best
Can you not use the true crypt command line from say System.Diagnostics.Process?
using System;
using System.Diagnostics;
namespace Test {
class TrueCrypeStart
{
static void Main(string[] args)
{
string password = getPassword(...);
Process tc= new Process();
tc.StartInfo.FileName = "TrueCrypt.exe";
tc.StartInfo.Arguments = string.Format("/v \"{0}\" /p \"{1}\" /q", ...mount info ..., password); // for quiet!
tc.Start();
}
}
}