I'm trying to use WMI through System.Management in C#. When I do it for a windows application is easy but for pocket pc it does not appear in add reference

Is it possible to use System.Managemet with Pocket PC 2003
And if so, how can I add a reference to System.Management

Thank you

Re: How can I use System.Management by Peter

Peter
Mon Apr 19 03:25:17 CDT 2004

The System.Management namespace is not provided in the .NET Compact
Framework. What specific features do you want to access?

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"A.Arias" <anonymous@discussions.microsoft.com> wrote in message
news:FEEABFF5-38BD-4604-8EFB-296B4F61630C@microsoft.com...
> I'm trying to use WMI through System.Management in C#. When I do it for a
> windows application is easy but for pocket pc it does not appear in add
> reference.
>
> Is it possible to use System.Managemet with Pocket PC 2003?
> And if so, how can I add a reference to System.Management?
>
> Thank you.
>



Re: How can I use System.Management by anonymous

anonymous
Mon Apr 19 04:06:02 CDT 2004

Thank you for your quick response

I'd like to query WMI through ManagementObjectSearcher and access some classes like MSNdis_80211_ReceivedSignalStrength

Regards

----- Peter Foot [MVP] wrote: ----

The System.Management namespace is not provided in the .NET Compact
Framework. What specific features do you want to access

Pete

--
Peter Foo
Windows Embedded MV
OpenNETCF.org Senior Adviso
www.inthehand.com | www.opennetcf.or

"A.Arias" <anonymous@discussions.microsoft.com> wrote in message
news:FEEABFF5-38BD-4604-8EFB-296B4F61630C@microsoft.com..
> I'm trying to use WMI through System.Management in C#. When I do it for a
> windows application is easy but for pocket pc it does not appear in add
> reference
>> Is it possible to use System.Managemet with Pocket PC 2003
> And if so, how can I add a reference to System.Management
>> Thank you
>

Re: How can I use System.Management by Peter

Peter
Mon Apr 19 04:23:26 CDT 2004

In the Pocket PC environment there is no WMI. Instead you can potentially
query the signal strength using an API specific to the network adaptor on
the device (if supported). Obviously if you are targetting a wide range of
different devices this will be problematic.
HP have some native APIs you can P/Invoke into for their devices with built
in WiFi - ipaqutilwlan.dll

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"A.Arias" <anonymous@discussions.microsoft.com> wrote in message
news:E68BA656-CEFC-4868-A308-D8713D3F0BA5@microsoft.com...
> Thank you for your quick response.
>
> I'd like to query WMI through ManagementObjectSearcher and access some
> classes like MSNdis_80211_ReceivedSignalStrength.
>
> Regards.
>
> ----- Peter Foot [MVP] wrote: -----
>
> The System.Management namespace is not provided in the .NET Compact
> Framework. What specific features do you want to access?
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> OpenNETCF.org Senior Advisor
> www.inthehand.com | www.opennetcf.org
>
> "A.Arias" <anonymous@discussions.microsoft.com> wrote in message
> news:FEEABFF5-38BD-4604-8EFB-296B4F61630C@microsoft.com...
> > I'm trying to use WMI through System.Management in C#. When I do it
> for a
> > windows application is easy but for pocket pc it does not appear in
> add
> > reference.
> >> Is it possible to use System.Managemet with Pocket PC 2003?
> > And if so, how can I add a reference to System.Management?
> >> Thank you.
> >



Re: How can I use System.Management by anonymous

anonymous
Mon Apr 19 05:26:04 CDT 2004

Thank you

It's a pity that WMI could not be accessed in Pocket PC 2003 as easily as in Windows XP :

I should go back to IOCTL and eVC++, because I need a generic solution. But here I have many troubles compiling with eVC++ 4.0 (Not with C++ .NET). That's why I would like to use C#

I have some questions about eVC but I'll ask them in another post

Thank you for all

Regards.