Solved

TrueCrypt Software

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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