Solved

TrueCrypt Software

Posted on 2012-03-26
2
213 Views
Last Modified: 2012-11-19
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(......

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_27647184.html#a37764551
0
Comment
Question by:Moizsaif123
2 Comments
 
LVL 12

Accepted Solution

by:
HugoHiasl earned 500 total points
ID: 37764666
Could you specify your problem more detailed?

Samples for numerical data in the String.Format method are here:
http://www.csharp-examples.net/string-format-double/

There are lots of samples if you google for "String.Format C#"
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37767048
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

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now