Click here to Skip to main content
15,860,972 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm new in vb.net.
i want to make a program that detect usb plug in and after plug in,an interface is appear same like windows..got admin and user acc...
ADMIN ACC require password.It able Copy Cut Paste.(CCP)
while
USER ACC dnt require any passwod.It unable to Copy Cut Paste.(ccp)

only user with admin password can have permission to CCP data out from the PC.

i want to minimise data leakage through USB drive..

thanks.
Posted
Updated 8-Nov-11 20:47pm
v2

1 solution

Following code project article explains how to detect plugging of USB devices / other devices from a windows service. You can refer to this
Capturing Device Events in a C# Windows Service[^]

Refer to following article to control access to USB device
Developing a USB Storage Device Protection Tool with C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900