Thursday, June 08, 2006 7:02 PM
Am I missing something?! Is it possible that the .NET Compact Framework 2.0 (CF) has fewer mobility features than the full-size framework?! I wrote a two-part article on mobility for Coding 4 Fun (check my links along the side) and really enjoyed playing with the network and power features added from 1.1 to 2.0. Now I'm working on Pocket PC development for a project and it looks like you
still need to use P/Invoke in order to determine this information. Think about it -- someone needs to go through the BCL list and decide which classes are worth porting to the Compact Framework. Who passed on these? What were they thinking?
So I'm using the Intel Mobile SDK and they provide support for network, bandwidth, power, processor, and more for the desktop and Pocket PC. Unfortunately I can't get it to work with .NET 2.0 at this point. The managed bridge libraries that they provide (their functions are all native DLL's with managed wrappers) build just fine, but don't seem to expose any information except for processor info. I'll keep at it. I must be missing something!