C# coding that will automatically scan a flash drive as it's inserted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheeStudent
    New Member
    • May 2010
    • 2

    C# coding that will automatically scan a flash drive as it's inserted

    Can someone help me out on how to let a C Sharp program automatically scan a flash drive or CD as soon as it's entered in your PC? I have created a basic ATM program and what I intend to do basically is let the flash drive or CD act as a credit card. So roughly when my flash drive is inserted the coding should scan the flash and I should be able to access my account and if my friends flash is inserted it should access my friends account.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Original Poster: I don't know how to use a search engine. Could someone do it for me?
    For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.

    Comment

    • Curtis Rutland
      Recognized Expert Specialist
      • Apr 2008
      • 3264

      #3
      There's nothing built in for this in .NET, so you're going to have to override WndProc and look for the proper messages. There's a codeproject page that deals with this in the search that tlhintoq posted.

      Comment

      Working...