. NET 2.0 bug -- virtual comport name Error
Today we found a bug in. NET 2.0 RC (2.0.50727:
A simple sentence
Dim Ports As String () = System. Io. Ports. SerialPort. getportnames ()
generally, all serial port names are displayed normally. However, it is found that this function may cause problems when dealing with virtual comports.
first, let's talk about the configuration of the COM port on my computer:
COM1, com2: Two COM ports on the computer
com9: after the Siemens cxv65 phone is connected to the computer by infrared, a Siemens s45 modem is occupied.
com12: Standard modem on the bluetooth link #2 -- virtual modem after the Nokia 6021 bluetooth link
System Configuration:
ports return:
com12 returns com12c and com9 returns com92. Sometimes comx and a random garbled code are returned. However, the return parameters of the physical port are always normal.
after the USB interfaces of the infrared and Bluetooth devices are changed, the original com9 is changed to com13 (Siemens s45) after the infrared and Bluetooth connections are re-established ), the original com12 is changed to com14 (Nokia 6021 Bluetooth connection)
result:
the port name is still incorrect.
This function was completely correct before the RC version. I don't know what is going on. NET 2.0 RC.
another question: Where can I report this bug?