OnLine Commands

Hi. I’m trying to create a ‘VexComponent’ to use in VS .NET. In order to do that I need help understanding how to pass commands to the VEX similar to the OnLine window provided with loader program. Can anyone help with the following:
1. serial protocol used (propetary I guess)
2. commands and format used by the OnLine window (tried a sniffer with no luck)
3. a way to read the serial port from the controller (would be nice if EasyC would have a SerialInput besides RxInput and the others)