views:

288

answers:

1

Hi,

can anyone tell me how to check if a Windows CE 4.2 device is currently connected to the Internet, i.e. how to get the RAS connection status (we are using RAS autodial)? I can of course do something like a DNS query, but I certainly would like to do this without actually generating data traffic ... or is this the only way? I am still using Compact Framework 1, and I need to display the connection status in a full-screen kiosk mode application.

Thanks, Timo

+2  A: 

There's a Compact Framework RAS library over on CodePlex that might be of use. I honestly don't remember if I wrote it against 1.0 or 2.0, but I know I did it a long time ago, so it's likely 1.0 compliant (or fairly easy to make it compliant).

ctacke
Thanks! I will check it out.
Timo