範囲内のBluetoothデバイスのアドレスを取得するアプリケーションを作成しようとしています。ペアリングや転送は必要ありません。アドレスだけが必要です。どこから始めればよいかアドバイスはありますか?
どうもありがとう ..
Googleはこれを見つけました:
BluetoothRadio.PrimaryRadio.Mode = RadioMode.Connectable;
BluetoothClient client = new BluetoothClient();
BluetoothDeviceInfo[] devices = client.DiscoverDevices();
foreach (BluetoothDeviceInfo device in devices)
{
Console.WriteLine(device.DeviceAddress);
}