What, for example? There is no "turn wifi on" operation in the operating
system. You can be absolutely sure of that. In fact, other than by
querying the driver after it is loaded, the network stack does not know that
the device even *has* WiFi. You could, since you're asking in a .NET CF
group, enumerate all of the network adapters on the device (this has been a
previous topic of discussion which you can look for using GoogleGroups),
find those which are marked as WiFi, and then make sure that those are on or
off using other previously-discussed methods (search, again). However, if
an adapter uses its own configuration program, or if the device OEM has done
something like that, rather than using the Windows CE standard WZC stuff to
do the configuration, there's no way to distinguish between a wireless
adapter an a wired Ethernet adapter. There can be no "quick global
solution" to this. You either figure out what the right answer for your
specific device is and use that shortcut, or you do something very general,
but still have to live with the 1%or 2% of devices that do something that
you can't correct for.
Paul T.