M
Mugunth
Hi,
I've a strange problem with serial port class of .NET Framework 2.0
I use com0com (Null Modem COM Port emulator) to emulate a virtual
port.
This application creates virtual com port pairs with starting with
CNCA0 <-> CNCB0
CNCA1<-> CNCB1
etc.,
When I created a port with this name and try to open it using
SerialPort.Open,
I get a ArgumentException stating "The given port name does not start
with COM/com or does not resolve to a valid serial port."
Where as if I create a virtual serial port pair by name
COM20<->COM21
I can open both the ports and send/receive data between them.
However, HyperTerminal works fine for both the COM Ports.
What could be the problem? Any Help would be appreciated.
How could I circumvent this error?
Regards,
Mugunth
I've a strange problem with serial port class of .NET Framework 2.0
I use com0com (Null Modem COM Port emulator) to emulate a virtual
port.
This application creates virtual com port pairs with starting with
CNCA0 <-> CNCB0
CNCA1<-> CNCB1
etc.,
When I created a port with this name and try to open it using
SerialPort.Open,
I get a ArgumentException stating "The given port name does not start
with COM/com or does not resolve to a valid serial port."
Where as if I create a virtual serial port pair by name
COM20<->COM21
I can open both the ports and send/receive data between them.
However, HyperTerminal works fine for both the COM Ports.
What could be the problem? Any Help would be appreciated.
How could I circumvent this error?
Regards,
Mugunth