I have been using:
System.Net.Dns.Resolve("laptop1")
To check if I am connected to a network. If it is connected it returns an
ipHostInfo object, if not it raises an error. It works fine at first, but
if I later disconnect the network from the device and run that line of code
again it respond as if it were still connected. Even with no network it
returns information about the address as long as it was previously resolved.
Somewhere it is storing the ipHostInfo information, and using it even if the
device is not connected to a network, it appears as if this information is
stored on the handheld somewhere. Does anybody know how to clear this info,
so it checks the network every time for that address rather then pulling it
out of memory.

Thanks,
Joe