Get or set the ServiceName the server will use in its SDP Record.
A string representing the value to be used for the Service Name
SDP Attribute. Will be nullNothingnullptr if not specfied.
| Exception | Condition |
|---|---|
| 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. |