I need to enumerate COM Port Details.Specifically i want to know USB Serial Port Information(USB Availability,Status, StatusInfo,Name,Description ).
Thanks
7 1843
If you have a USB serial port, it will show up just like the other serial ports.
string mySerialPortNames = System.IO.Ports.SerialPort.GetPortNames();
If you want more hardware level information, you can probably get it from WMI. Check out the WMICodeCreator to search into the details
If you have a USB serial port, it will show up just like the other serial ports.
string mySerialPortNames = System.IO.Ports.SerialPort.GetPortNames();
If you want more hardware level information, you can probably get it from WMI. Check out the WMICodeCreator to search into the details
Thank you for your info..,
I already tried WMI for for enuerate USB port info. But i am notable to get these(USB Port Availability, Status, Name, Which Como port currently Used) Information.
What've you got so far?
Now I got only COM Port Name. But I need USB Port Availability, Name, Status , Description, Which Com Port Used all These things.
What do you mean "USB Port availablity"? There is either something plugged into the usb port, or there isn't.
If you want the SERIALPORT availability, try to connect to it. It will say it's in use if it is.
What do you mean "USB Port availablity"? There is either something plugged into the usb port, or there isn't.
If you want the SERIALPORT availability, try to connect to it. It will say it's in use if it is.
I don't know how to connect .plz help me.
thanks
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Sven Dzepina |
last post by:
Hello people,
I want to check with a php script if a port / serverservice is down.
It would be great if I can check the ping time, too.
But how I can realize that?
Gretting from Germany.
|
by: Lionel |
last post by:
Hi all,
I would like having more informations on how we could exchange
informations and/or objects between PERL and JAVA.
We have a Java programs that open, maintain and close telnet...
|
by: smichr |
last post by:
I see that there is a thread of a similar topic that was posted
recently ( enumerate with a start index ) but thought I would start a
new thread since what I am suggesting is a little different.
...
|
by: Frank |
last post by:
Hello,
how to get information about all serial ports in the PC?
I use the following code, but i got only the data of the FIRST serial port.
All other serial port information are not available...
|
by: Gregory Petrosyan |
last post by:
Hello!
I have a question for the developer of enumerate(). Consider the
following code:
for x,y in coords(dots):
print x, y
When I want to iterate over enumerated sequence I expect this to...
|
by: eight02645999 |
last post by:
hi,
i am using python 2.1. Can i use the code below to simulate the
enumerate() function in 2.3? If not, how to simulate in 2.1?
thanks
from __future__ import generators
def...
|
by: bmearns |
last post by:
Is it possible to specify which port to use as the outbound port on a
connection? I have the IP address and port number for the computer I'm
trying to connect to (not listening for), but it's...
|
by: James Stroud |
last post by:
I think that it would be handy for enumerate to behave as such:
def enumerate(itrbl, start=0, step=1):
i = start
for it in itrbl:
yield (i, it)
i += step
This allows much more flexibility...
|
by: DoB |
last post by:
Hi,
I would like to get the list of full paths of all files that are currently
opened by any process in the system.
Is this possible?
In short:
my program moves a bunch of directories and I...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |