wildarmsdave
asked on
Check for a SPECIFIC device connected to USB port
Hi,
Is it possible to programatically check when a specific device has been plugged into the USB port through VB6 or .net?? I wish to stop any Iphones being connected to a PC but need to allow other USB devices including pen drives. The only way I could think of is to scan through the conencted drives and then somehow track down the Iphone drive letter and then close the drive if detected?
Many thanks,
Dave.
Is it possible to programatically check when a specific device has been plugged into the USB port through VB6 or .net?? I wish to stop any Iphones being connected to a PC but need to allow other USB devices including pen drives. The only way I could think of is to scan through the conencted drives and then somehow track down the Iphone drive letter and then close the drive if detected?
Many thanks,
Dave.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
http://www.codeproject.com/KB/system/HwDetect.aspx
There is also the link below which detects when an IPod is connected so I should be ble to modify this for an IPhone
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=60373&lngWId=1