开发者

How to get RAS connection status on Windows CE 4.2 with Compact Framework 1

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜