Monday, March 30, 2015

C#, NULL com port


I get com1 and com2...


I just do not see what null com is not coming up



Sorry for the late response.


As the documentation says, the SerialPort.GetPortNames method retrieves the port names from the registry, and from the picture in your previous post, there're only two ports(COM1 & COM2), if you got COM1 and COM2, the result is correct.


So what do you mean by "null com"? If you mean the virtual ports shown in the program "com0com", I think you need to get rid of SerialPort.GetPortNames method. Try other Windows APIs in the link of my last reply.




We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.


No comments:

Post a Comment