Link to home
Start Free TrialLog in
Avatar of Moiz Saifuddin
Moiz Saifuddin

asked on

TrueCrypt Software

i have a problem posted in this post below on reading usb and through a software called truecrypt. I need and example of real data in a method called String.Format(......

https://www.experts-exchange.com/questions/27647184/Read-usb-drive.html?anchorAnswerId=37764551#a37764551
ASKER CERTIFIED SOLUTION
Avatar of HugoHiasl
HugoHiasl

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Moiz Saifuddin
Moiz Saifuddin

ASKER

im calling a truecrypt software to read from a usb drive, although im trying to calle this class truecrypt through form1_Load, this is giving a syntax error.


      private void Form1_Load(object sender, EventArgs e)
        {
            Test.TrueCrypeStart();
        }


    }
}


namespace Test
{

    class TrueCrypeStart
    {
        static void Main1(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();
        }
    }
}

Open in new window