How to detect a USB device

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thesushant
    New Member
    • May 2007
    • 2

    How to detect a USB device

    Hi,

    How can i detect a USB drive inserted in Desktops running on Windows XP.
    Appreciate your help if you can tell me some of the API's for this purpose.

    Thanx.
  • Atran
    Contributor
    • May 2007
    • 319

    #2
    Originally posted by thesushant
    Hi,

    How can i detect a USB drive inserted in Desktops running on Windows XP.
    Appreciate your help if you can tell me some of the API's for this purpose.

    Thanx.
    I do not know in C#, but I know in DOS (Command Prompt), first open the Command, then write:

    netstat -a

    Then click Enter.
    If you want to show the IP adress, write:

    netstat -an

    And click Enter.
    This way show to you the devices connected to your computer.
    This way help you also to know who hack on your computer.
    Bye.

    Comment

    • SammyB
      Recognized Expert Contributor
      • Mar 2007
      • 807

      #3
      Originally posted by thesushant
      Hi,

      How can i detect a USB drive inserted in Desktops running on Windows XP.
      Appreciate your help if you can tell me some of the API's for this purpose.

      Thanx.
      See http://www.thescripts.com/forum/thread348267.html

      Comment

      Working...