.NET POS device communication

Hi all. I will need some help.
Im starting with programming some .NET application and in one part of it I need to connect with POS device (http://www.hypercom.com/products/T2100.asp ).
The Physical interface to the terminal will be implemented by a direct RS-232 connection (COM port).
What is the best solution for that kind of connection? POS for. NET,  SerialPort class or something else? I don't have any Service Object or OPOS driver  from manufacturer.
I have to send/receive some data from this device.
Message block format :
-      STX       Message (256 maximum)       ETX       LRC
Data transmission to and from the terminal is Asynchronous at up 9600 BPS, with 7 data bits, even parity and 1 stop bits (7E1). 7 bit ACSII characters are supported with significant bit transmitted first; parity is most significant bit.
The LRC is generated by Exclusive-OR'ing all data bytes following the STX, up to and including the ETX.
LRC  The LRC byte follows the ETX and must have the same parity as the rest of the message.

Could you please write some example of sending / receiving message to that device (.NET, C#, VB.NET)

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fernando SotoRetiredCommented:
Hi MatijaT;

Well because the interface will be RS-232 the serial port class seems to be the choice. Below are two articles  on using this class

SerialPort Class - Microsoft Documentation

Serial Communication using C#

Communication on a serial port in NET 2.0

Hopes this helps.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.