Solved

TrueCrypt Software

Posted on 2012-03-26
2
215 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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