deleyd
asked on
programmatically detect the position of wireless on/off switch?
My laptop has a sliding switch on the front which switches on/off the wireless internet. Is there a way to programmatically detect the position of this switch?
I suspect there is, but I don't know where in the OS to find it. If the switch accidentally gets slid to the off position the internet stops working. Right-clicking on the wireless symbol in the system tray and selecting "Repair" gives a message to check that switch, so there must be some way of determining when the wireless has been turned off by that switch.
I'd like to write a simple program that pops up a message if that switch gets slid to the off position.
I suspect there is, but I don't know where in the OS to find it. If the switch accidentally gets slid to the off position the internet stops working. Right-clicking on the wireless symbol in the system tray and selecting "Repair" gives a message to check that switch, so there must be some way of determining when the wireless has been turned off by that switch.
I'd like to write a simple program that pops up a message if that switch gets slid to the off position.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.