System.Management
10.0.3
Prefix Reserved
See the version list below for details.
dotnet add package System.Management --version 10.0.3
NuGet\Install-Package System.Management -Version 10.0.3
<PackageReference Include="System.Management" Version="10.0.3" />
<PackageVersion Include="System.Management" Version="10.0.3" />
<PackageReference Include="System.Management" />
paket add System.Management --version 10.0.3
#r "nuget: System.Management, 10.0.3"
#:package System.Management@10.0.3
#addin nuget:?package=System.Management&version=10.0.3
#tool nuget:?package=System.Management&version=10.0.3
About
Provides access to a rich set of management information and management events about the system, devices, and applications instrumented to the Windows Management Instrumentation (WMI) infrastructure. Not supported on other platforms.
Key Features
- Consume Windows Management Instrumentation (WMI) data and events
- High performance extensible event mechanism
How to Use
Retrieve management information
using System.Management;
// Get the WMI class
ManagementClass managementClass = new("Win32_Processor");
// Loop through the WMI class instances and print the processor information found
foreach (ManagementObject managementObject in managementClass.GetInstances())
{
Console.WriteLine("--- Processor information ---");
Console.WriteLine($"Name: {managementObject["Name"]}");
Console.WriteLine($"Architecture: {managementObject["Architecture"]}");
}
Query management information via the SelectQuery type
using System.Management;
// Search for win32 services with a stopped state
SelectQuery selectQuery = new("Win32_Service", "State = 'Stopped'");
ManagementObjectSearcher managementObjectSearcher = new(selectQuery);
foreach (ManagementObject service in managementObjectSearcher.Get())
{
Console.WriteLine(service.ToString());
}
Main Types
The main types provided by this library are:
System.Management.ManagementClassSystem.Management.ManagementObjectSystem.Management.SelectQuery
Additional Documentation
- Conceptual documentation
- System.Management API documentation
- System.Management.ManagementClass documentation
Feedback & Contributing
System.Management is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.CodeDom (>= 10.0.3)
-
net10.0
- System.CodeDom (>= 10.0.3)
-
net8.0
- System.CodeDom (>= 10.0.3)
-
net9.0
- System.CodeDom (>= 10.0.3)
NuGet packages (1.1K)
Showing the top 5 NuGet packages that depend on System.Management:
| Package | Downloads |
|---|---|
|
Google.Apis.Auth
The Google APIs Client Library is a runtime client for working with Google services. This package includes auth components like user-credential, authorization code flow, etc. for making authenticated calls using the OAuth2 spec. |
|
|
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard. |
|
|
BenchmarkDotNet
Powerful .NET library for benchmarking |
|
|
Volo.Abp.Core
Package Description |
|
|
Microsoft.AppCenter
This package contains the basic functionalities that all App Center services use to communicate with the backend. |
GitHub repositories (302)
Showing the top 20 popular GitHub repositories that depend on System.Management:
| Repository | Stars |
|---|---|
|
microsoft/PowerToys
Microsoft PowerToys is a collection of utilities that supercharge productivity and customization on Windows
|
|
|
PowerShell/PowerShell
PowerShell for every system!
|
|
|
NickeManarin/ScreenToGif
🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
|
|
|
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
|
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
|
|
|
Klocman/Bulk-Crap-Uninstaller
Remove large amounts of unwanted applications quickly.
|
|
|
netchx/netch
A simple proxy client
|
|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
|
srwi/EverythingToolbar
Everything integration for the Windows taskbar.
|
|
|
seerge/g-helper
Lightweight, open-source control tool for ASUS laptops and ROG Ally. Manage performance modes, fans, GPU, battery, and RGB lighting across Zephyrus, Flow, TUF, Strix, Scar, and other models.
|
|
|
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
|
|
|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
|
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
|
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
|
quasar/Quasar
Remote Administration Tool for Windows
|
|
|
AutoDarkMode/Windows-Auto-Night-Mode
Automatically switches between the dark and light theme of Windows 10 and Windows 11
|
|
|
LibreHardwareMonitor/LibreHardwareMonitor
Libre Hardware Monitor is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer.
|
|
|
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.1.26104.118 | 280 | 2/10/2026 |
| 10.0.3 | 15,721 | 2/10/2026 |
| 10.0.2 | 324,652 | 1/13/2026 |
| 10.0.1 | 309,706 | 12/9/2025 |
| 10.0.0 | 1,044,524 | 11/11/2025 |
| 10.0.0-rc.2.25502.107 | 31,735 | 10/14/2025 |
| 10.0.0-rc.1.25451.107 | 25,664 | 9/9/2025 |
| 10.0.0-preview.7.25380.108 | 12,702 | 8/12/2025 |
| 10.0.0-preview.6.25358.103 | 6,193 | 7/15/2025 |
| 10.0.0-preview.5.25277.114 | 7,767 | 6/6/2025 |
| 10.0.0-preview.4.25258.110 | 5,788 | 5/12/2025 |
| 9.0.13 | 2,291 | 2/10/2026 |
| 9.0.12 | 58,967 | 1/13/2026 |
| 9.0.11 | 157,115 | 11/11/2025 |
| 9.0.10 | 1,250,052 | 10/14/2025 |
| 9.0.9 | 820,059 | 9/9/2025 |
| 9.0.8 | 1,411,112 | 8/4/2025 |
| 9.0.7 | 572,194 | 7/8/2025 |
| 9.0.6 | 1,039,975 | 6/10/2025 |
| 9.0.5 | 4,237,206 | 5/13/2025 |