In The Hand
ServiceName Property
NamespacesInTheHand.Net.SocketsBluetoothListenerServiceName
.NET Components for Mobility
Get or set the ServiceName the server will use in its SDP Record.
Declaration Syntax
C#Visual Basic
public string ServiceName { get; set; }
Public Property ServiceName As String
Value
A string representing the value to be used for the Service Name SDP Attribute. Will be nullNothingnullptr if not specfied.
Exceptions
ExceptionCondition
InvalidOperationException The listener is already started.

- or -

A custom Service Record was given at initialization time. In that case the ServiceName attribute should be added to that record.

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0