0
私はBluetooth Device Development using C#を見つけましたが、私が望むのはWindows XP Bluetoothを制御できるコードです。 C#コードを使ってそれをオンまたはオフにします。それは、デスクトップPC上で実行する必要がある場合はWindows上でBluetoothを有効/無効にするxp C#コード
[DllImport("BthUtil.dll")]
private static extern int BthSetMode(RadioMode dwMode);
[DllImport("BthUtil.dll")]
private static extern int BthGetMode(ref RadioMode dwMode);
/// Bluetooth states.
public enum RadioMode
{
/// Bluetooth off.
Off,
/// Bluetooth is on but not discoverable.
On,
/// Bluetooth is on and discoverable.
Discoverable,
}
単語「ラジオ」あなたは誤解してはいけません...
あなたはWireless Communication Library .NET Editionを使用することができます:私が見つけた「グーグル」のショート後
しかし、そのコードはWindows Mobileのみです...私はWindows XP上でBluetoothの有効/無効を表示するサンプルコードが必要です。私はおそらくコードはWindows Mobileのリファレンスを使用せずに使用できることを願っています。 – rose
@rose:デスクトップマシンのソリューションをお探しですか? – Fischermaen
ラップトップの私の窓のXPの意味...はい – rose