M 
		
								
				
				
			
		mosh707
I am writing a code that is supposed to check if the wireless is
enabled or not and then according to the given status it turns it On or
Off. I am using the fuction \Windows\WirelessOnOff.exe this fuction
reservers the current state, i.e if it is enabled it disable it and
vice versa. However I cannot tell if it was orginally disabled or
enabled to decide whether to call this fuction or not. I also tried to
look in Microsoft.WindowsMobile.Status API but I could find a way to
check for wireless. If you know a way to do that please help.
				
			enabled or not and then according to the given status it turns it On or
Off. I am using the fuction \Windows\WirelessOnOff.exe this fuction
reservers the current state, i.e if it is enabled it disable it and
vice versa. However I cannot tell if it was orginally disabled or
enabled to decide whether to call this fuction or not. I also tried to
look in Microsoft.WindowsMobile.Status API but I could find a way to
check for wireless. If you know a way to do that please help.