Home > Net >  Written by c # winform procedure, can only search to a part of the bluetooth, bluetooth can't f
Written by c # winform procedure, can only search to a part of the bluetooth, bluetooth can't f

Time:09-27

BluetoothClient Blueclient=new BluetoothClient ();
Dictionary DeviceAddresses=new Dictionary (a);
BluetoothRadio BuleRadio=BluetoothRadio. PrimaryRadio;
BuleRadio. Mode=RadioMode. Discoverable;
.//BluetoothDeviceInfo Devices []=Blueclient DiscoverDevices ();
BluetoothDeviceInfo [] Devices.=Blueclient DiscoverDevices ();
LbFrames. Items. The Clear ();
DeviceAddresses. The Clear ();
Foreach (BluetoothDeviceInfo device in Devices)
{
//cycle will be added all search to the equipment,
LbFrames. Items. The Add (device. DeviceName);
DeviceAddresses [device. DeviceName]=device. DeviceAddress;
}

Use WIN10 own search bluetooth 4.0 bluetooth to search what I want, programs can only search to search is less than some of the headphones, online data and less special, help the eldest,

CodePudding user response:

Have a plenty of InTheHand.Net.Personal this DLL
  •  Tags:  
  • C#
  • Related