difference of Ports.SerialPort and Serial.Port?

  • Thread starter Thread starter lsheung
  • Start date Start date
L

lsheung

Hi,

Can someone tell me what is the difference between
OpenNETCF.IO.Ports.Serial and OpenNETCF.IO.Serial.Port? How should I
decide which one I should use?

Thanks

Lok
 
One has had more testing and proven itself (it was there first). The other
is interface compatible with the CF v2.0 offering so when you port your code
you only need to change the namespace you are using.

Cheers
Daniel
 
Is that correct OpenNETCF.IO.Ports.SerialPort is a new API and
OpenNETCF.IO.Serial.Port is tested more thorough?

Lok
 
Yes. Serial.Port has been heavily tested by many users. SerialPort not so
much (in fact I've used it only once myself, and only as a quick test).

-Chris
 
Back
Top