Gets or sets the communication port number of the Loconet interface.

Namespace: RRAutoLib.Loconet
Assembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4504.18867

Syntax

C#
public byte ComPort { get; set; }
Visual Basic
Public Property ComPort As Byte
	Get
	Set

Field Value

Default value is 1.

Remarks

If the LoconetService is started, setting this property will not take effect until the service is stopped and restarted.

Examples

See the Start()()()() method for a code example.

See Also