private RfcommServiceProvider() { this.listener = null; }
/// <summary> /// Begins advertising the SDP attributes. /// </summary> /// <param name="listener">The <see cref="RfcommStreamSocketListener"/> that is listening for incoming connections.</param> public void StartAdvertising(RfcommStreamSocketListener listener) { PeerFinder.AlternateIdentities["Bluetooth:SDP"] = serviceId.AsString(); //PeerFinder.Start(); this.listener = listener; }