Gets or sets the port number for serial communication.
[Visual Basic]
Public Property PortNumber As Integer
[C#]
public int PortNumber {get; set;}
Property Value
Port number. The default value is 1.
Example
How to set the port of serial communication as COM1.
comm.PortNumber = 1
comm.PortNumber = 1;
See Also
AwCommLE Class | Asterworld.Comm Namespace