ComPortSetComPortSpec(ComPortComPortSpec) Method |
Function to set the COM port's specification as defined in the ComPortSpec structure.
Namespace: Crestron.SimplSharpProAssembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntaxpublic int SetComPortSpec(
ComPortComPortSpec paramComPortSpecificationStructure
)
Parameters
- paramComPortSpecificationStructure ComPortComPortSpec
- Structure that contains information about how the serial port will be configured.
Return Value
Int32UShort if sending the new com port specification was successful. 0 = successful.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also