Solved

TrueCrypt Software

Posted on 2012-03-26
2
212 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

16 Experts available now in Live!

Get 1:1 Help Now