locked
SerialPort class help... RRS feed

  • Question

  • Please forgive me if this is a silly question, but it's been a while since I've played with Serial Port communication.

    I'm using the .NET 2.0 SerialPort class. I want to be able to set things like CTS, DCD, DSR, and RI (Ring line indicator) on the port. I know how to enable/disable DTR and RTS, but I can't find any way to change any other settings, ideally I'd like to be able to do low level IOCTL settings...

    Any help would be most appreciated.

     

                -David-

    Wednesday, November 8, 2006 8:39 PM

Answers

  • Nope, that's it.  DCD, DSR, CTS and RI are inputs.  Check out the PinChanged event handler.  Properties you can control are Baudrate, BreakState, DataBits, Handshake, Parity, StopBits.  RtsEnable, DtrEnable you already found.
    Wednesday, November 8, 2006 11:52 PM