Click or drag to resize

ComPortComPortSpec Structure

Structure that can easily be used to set all the settings of a com port at once.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Crestron.SimplSharpProComPortComPortSpec

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public struct ComPortSpec

The ComPortComPortSpec type exposes the following members.

Properties
 NameDescription
Public propertyBaudRate Property to set the rate at which the serial data will be transmitted and received at.
Public propertyDataBits Set the number of databits in each serial packet.
Public propertyHardwareHandShake Set the hardware handshaking mode of the port.
Public propertyPacing Rate that characters are sent in ms.
Public propertyParity Set the parity of the bits in the serial packets.
Public propertyProtocol Set the Serial protocol the port will use.
Public propertyReportCTSChanges Indicate to the driver to report CTS state changes.
Public propertySoftwareHandshake Set the software handshaking mode of the port.
Public propertyStopBits Set the number of stop bits used.
Top
Methods
 NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also