Where are some .Net compact framework classes?
Hello,
i'm using VS Orcas beta 2 for developing Windows Mobile 6 application. On my pc is installed .Net CF 2 SP2 and .Net CF 3.5 Pre-release.
I want create a windows mobile application for sending "ping" at remote host.
In VS Help Local and Online, is used the namespace System.Net.NetworkInformation in which are avaible ping, pingreply, pingoptions classes.
On my pc there isn't this namespace, why? where's it?
Moreover other classes are missing.
Is necessary to install OpenNETCF ?
Regards.
Hello,
.Net CF is a cut down version of the .Net framework and as such various classes have been removed, however the assembly names are still the same - but if you look in object browser you will be able to see the differences. In your case, System.Net.NetworkInformation has been removed.
I haven't used OpenNetCF myself yet but they do provide additional functionality which is missing from .Net. Looking at the documentation (http://www.opennetcf.com/library/networkinformation/) it does look like they have implemented the class you require. So yes, if you download and use that then you can have ping functionality, however using the standard framework you can't.
Hope this clears up the matter for you.
Thanks
Ben