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 开发者_JAVA百科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
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).
精彩评论