المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Get the COM port for my cardreader/writer connected through a usb



C# Programming
07-10-2009, 06:30 PM
i m writing a web app to communicate with the card reader/writer.
before communicating i need to set the COM port on which it is connected .
i knw that the system emulates this usb port as a serial port.
i need to knw the COM Port on which the device is connected ,recognize a device is connected / disconnected.i m trying to use Microsoft.Win32 but not getting how to use it actually.
i m new to c# pgming ,any answers will be a great help.
plz provide sample codes if possible.
Thanx in advance.

mukeshmkg