none
TrueCrypt and .net RRS feed

  • Question

  • does someone know if it is possible to build an application that store data in a folder locked by truecrypt 

    where the application 1) create the encrypted folder  2) pass the password to read/write the data?

    Tuesday, June 15, 2010 7:08 PM

Answers

  • The only outside interface to TrueCrypt is via the Command Line program TrueCrypt.exe

    Does not appear that you can create the container, see for yourself here:

    http://www.truecrypt.org/docs/command-line-usage

    -or-

    http://www.truecrypt.org/docs/?s=command-line-usage

    An existing container can be mounted and once thats done, obviously you can read and write from and to the virtual drive.

    In case you didn't know, you can execute a cmd style program and never show anything on the screen.

            Dim sCommand As String = "TrueCrypt.exe" ' just an example
            Dim sArgs As String = "/v D:\test.tc /l D" ' just an example
            Dim psi As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo(sCommand, sArgs)
            psi.UseShellExecute = False
            psi.RedirectStandardOutput = False
            psi.CreateNoWindow = True
            Dim proc As System.Diagnostics.Process = Nothing
            proc = System.Diagnostics.Process.Start(psi)
            proc.WaitForExit(5000) ' Optional - see documentation
    
    

    • Marked as answer by marck68 Monday, October 24, 2011 7:30 AM
    Saturday, October 22, 2011 4:57 PM

All replies

  • I realize this is some-what an old post, but, have you found an answer yet? If not I have a few questions, to try to help you out.
    Dylan
    Saturday, October 22, 2011 12:38 AM
  • Nope I am still waiting for an answer.
    Saturday, October 22, 2011 7:15 AM
  • The only outside interface to TrueCrypt is via the Command Line program TrueCrypt.exe

    Does not appear that you can create the container, see for yourself here:

    http://www.truecrypt.org/docs/command-line-usage

    -or-

    http://www.truecrypt.org/docs/?s=command-line-usage

    An existing container can be mounted and once thats done, obviously you can read and write from and to the virtual drive.

    In case you didn't know, you can execute a cmd style program and never show anything on the screen.

            Dim sCommand As String = "TrueCrypt.exe" ' just an example
            Dim sArgs As String = "/v D:\test.tc /l D" ' just an example
            Dim psi As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo(sCommand, sArgs)
            psi.UseShellExecute = False
            psi.RedirectStandardOutput = False
            psi.CreateNoWindow = True
            Dim proc As System.Diagnostics.Process = Nothing
            proc = System.Diagnostics.Process.Start(psi)
            proc.WaitForExit(5000) ' Optional - see documentation
    
    

    • Marked as answer by marck68 Monday, October 24, 2011 7:30 AM
    Saturday, October 22, 2011 4:57 PM
  • That's  great thanks!!!
    Monday, October 24, 2011 7:31 AM