It was long time ago since I use communication over the serial bus.
Here is a simple example that will open a communication with the COM1 bus:
SerialPort port = new SerialPort("COM1");
port.Open();
Console.WriteLine(port.IsOpen);
port.Close();
You can use the Write method, WriteLine etc to send data to the serial bus.
SerialPort is a new class shipped with .Net 2.0 and is located within the System.IO.Ports namespace.
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT
CornerstoneMy Blog, ASP.Net 2.0 etc