DotNetSerialPort Constructor
|
Creates an instance of DotNetSerialPort |
AvailablePorts | Gets the list of system ports as a string collection. |
BaudRate | Gets or sets the speed of the port. |
BreakState | Gets or sets the status of break signal. |
ByteSize | Gets or sets the bytesize of the communication. |
BytesReceived | Gets the number of bytes received. |
BytesSent | Gets the number of bytes sent. |
CD | Gets the status of Carrier Detect signal. |
CTS | Gets the status of Clear To Send signal. |
DSR | Gets the status of Data Set Ready signal. |
DTREnabled | Gets or sets the status of Data Terminal Ready (DTR) signal. |
EventChar | Gets or sets the event character. |
HandShakeProperty | Gets or sets the handshake type. |
IsOpen | The value of this property is true, when the port is open. |
ParityBit | Gets or sets parity type. |
PortCount | Gets the number of serial ports in the system. |
PortHandle | Gets the serial port handle used by windows. |
PortNumber | Gets the port number. |
Ring | Gets the status of the ring signal. |
RQUsedBytes | Gets the number of bytes in the input buffer. |
RTSEnabled | Gets or sets the status of Ready To Send (RTS) signal. |
RxBufferSize | Gets or sets the size of the receive buffer. |
StopBit | Gets or sets the size of stop bit . |
TQUsedBytes | Gets the number of bytes in the input buffer. |
TxBufferSize | Gets or sets the size of the transmit buffer. |
XoffChar | Gets or sets the Xoff character. |
XonChar | Gets or sets the Xon character. |
ClearRxBuffer | Clears the input buffer. |
ClearTxBuffer | Clears the output buffer. |
Close | Closes the port |
Open | Overloaded. Opens the port with default parameters. |
Read | Overloaded. Reads data from the input buffer |
Reset | Resets the port parameters. |
ResetStats | Resets the stats. |
Write | Writes an array of bytes to the port |
WriteByte | Writes a single byte to the port |
WriteHexString | Overloaded. Writes data represented by a hexadecimal string to the port |
WriteString | Overloaded. Writes a string to the port |
BreakSignalReceived | Fired when the break signal is received |
CDToggled | Fired when the state of the Carrier-Detect signal changes. |
CTSToggled | Fired when the state of the Clear-To-Send signal changes. |
DataReceived | Fired when a character received in the input buffer. |
DSRToggled | Fired when the state of the Data-Set-Ready signal changes. |
EventCharReceived | Fired when the event character is received. |
LineStatusErrorOccured | Fired when a line status error occures. |
OutputBufferEmpty | Fired when the last character in the output buffer is sent. |
RingEvent | Fired when the state of the Ring signal changes from high to low |
DotNetSerialPort Class | SWBOX Namespace