473,385 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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.
May 31 '07 #1
2 1439
Atran
319 100+
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.
May 31 '07 #2
SammyB
807 Expert 512MB
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
May 31 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Stephane Belzile | last post by:
Is there a way I can detect in vb.Net the power has switched to a UPS unit in case of power failure? Thanks
1
by: John Rauhe | last post by:
Hello, Does anybody know how to detect if an mass-storage device has been added to the system ? I am making a program that will (should) detect when a CompactFlash memory card has been inserted...
0
by: Hank | last post by:
Hi, I am writing a windows service application which manage image capturing device in C#.NET. When the service is running, how it automatically detect when there is a new device plugged in (say...
9
by: Paul Steele | last post by:
I am writing a C# app that needs to periodically poll for cdroms and usb storage device insertions. I've looked at the WMI functions but haven't found anything all that useful. The closest is...
3
by: Sara | last post by:
HI, I want to code a program to detect GSM mobile (any kind) which connected through serial port to computer and then be able to send SMS through this mobile phone to other mobile phones, could...
6
by: sanjana | last post by:
hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code class usbdetect { public static void Main() { usbdetect we =...
2
by: dever | last post by:
I checked my color printers's Printersettings.SupportsColor, which all showed false. What is wrong that I could not use this property. Also, what other way to detect if a printer is color...
1
by: =?Utf-8?B?WnVuZSBNb3RpZmVy?= | last post by:
The Zune software does not detect my Zune device for the 2nd time in 3 weeks. what am I doing wrong? This time i following zune net instructions I cannot get the device to connect the software?
1
by: rajeshrocks2006 | last post by:
Hi, Can anybody help me, how can i detect when any unauthorized device is plugged into the USB port? In my case an unauthorized USB device pen drive. I need to be able to detect if any pen...
3
by: Charming12 | last post by:
Hi All, I have to deal with some devices like Pen Tablet, WebCam etc to work for a product. Now my Problem is some times while working , I am not able to tell whether a certain device is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.