This Windows Forms tray application shows a persistent icon in the system tray to indicate whether a specific Bluetooth device is currently connected.
-
Monitors Bluetooth devices every 3 seconds
-
Tray icon turns green when the specified device is connected
-
Tray icon turns red when disconnected or not configured
-
Right-click the tray icon to:
- Set or update the target Bluetooth device name
- Exit the application
-
Remembers device name using Windows Registry
-
Auto-starts with Windows
- Windows 10 or 11
- .NET Framework or .NET 6+ (Windows Desktop enabled)
- Clone or download the repository.
- Open the solution in Visual Studio.
- Build and run the project.
- The tray icon will appear red until you right-click it and choose "Set Bluetooth Device Name".
- Enter the exact name of your Bluetooth device as it appears in Windows.
-
Device name is stored under:
HKEY_CURRENT_USER\SOFTWARE\BluetoothTaskbarIcon\TargetDeviceName
- Only monitors Bluetooth-connected devices (not USB or 3.5mm).
- Does not display full device list or history.
- Add balloon notifications
- Add support for multiple devices
- Enable auto-detection from list
MIT
Used AI Copilot to assist with code generation.