ServicePort Property
The port on which the service is listening.
Syntax
[VB.NET] Public Property ServicePort As Integer
[C#] public int ServicePort {get; set;}
Remarks
This property specifies the port on which the service is listening.
When the ServiceProtocol is RFCOMM, valid values are from 1-30 inclusive. When the ServiceProtocol is L2CAP, valid values are an odd number less than or equal to 32765.
This property is not available at design time.
Default Value
0