Detecting network connectivity in .net CFv2 - the old chestnut!

  • Thread starter Thread starter Martin Robins
  • Start date Start date
M

Martin Robins

Ok, I know this has been asked hundreds of times before (though for .net CF
1.0), but I want to detect when wired and/or wireless connections are made
or broken from within the .net CF 2.0 (the physical connection).

I have done something similar in 1.0 using ConnectionManager which would
connect if a connection was available and throw me an event when that
connection died, but is there anything new in the new framework?

I have looked at such classes as System.Net.NetworkInformation.NetworkChange
and System.Net.NetworkInformation.NetworkInterface, but none of these seem
to be supported on CF - have I missed some or is this still missing for
mobile development?

Thanks.
 
There isn't anything in the .NETCF to specifically address this scenario, on
Windows Mobile you can continue to use the ConnectionManager APIs for this
purpose.

Peter
 
Thanks; was hoping there might be something new but there you go!

In the mean time, is there any way to programatically cater for
authentication across network file shares instead of having the OS dialog
pop up; I haven't been able to find anything for this either.

Martin.
 
Back
Top