Exemplo n.º 1
0
 private RfcommServiceProvider()
 {
     this.listener = null;
 }
Exemplo n.º 2
0
 /// <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;
 }