Click or drag to resize

HdMdComPortSetComPortSpec Method

Function to set the COM port's specification as defined in the ComPortSpec structure.

Namespace: Crestron.SimplSharpPro.DM
Assembly: Crestron.SimplSharpPro.DM (in Crestron.SimplSharpPro.DM.dll) Version: 2.21.121
Syntax
C#
public void SetComPortSpec(
	ComPortComPortSpec paramComPortSpecificationStructure
)

Parameters

paramComPortSpecificationStructure  ComPortComPortSpec
Structure that contains information about how the serial port will be configured.

Return Value

UShort if sending the new com port specification was successful. 0 = successful.
Exceptions
ExceptionCondition
NotSupportedExceptionThe COMPORT does not supports a part of the specified configuration. See messages for more information.
InvalidOperationExceptionThe COMPORT is not registered.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also