System.Management
9.0.10
Prefix Reserved
See the version list below for details.
dotnet add package System.Management --version 9.0.10
NuGet\Install-Package System.Management -Version 9.0.10
<PackageReference Include="System.Management" Version="9.0.10" />
<PackageVersion Include="System.Management" Version="9.0.10" />
<PackageReference Include="System.Management" />
paket add System.Management --version 9.0.10
#r "nuget: System.Management, 9.0.10"
#:package System.Management@9.0.10
#addin nuget:?package=System.Management&version=9.0.10
#tool nuget:?package=System.Management&version=9.0.10
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 was computed. 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 (>= 9.0.10)
-
net8.0
- System.CodeDom (>= 9.0.10)
-
net9.0
- System.CodeDom (>= 9.0.10)
NuGet packages (1.0K)
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. |
|
|
DiffEngine
Launches diff tools based on file extensions. Designed to be consumed by snapshot testing libraries. |
|
|
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 |
GitHub repositories (286)
Showing the top 20 popular GitHub repositories that depend on System.Management:
| Repository | Stars |
|---|---|
|
microsoft/PowerToys
Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks
|
|
|
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.
|
|
|
netchx/netch
A simple proxy client
|
|
|
Klocman/Bulk-Crap-Uninstaller
Remove large amounts of unwanted applications quickly.
|
|
|
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.
|
|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
|
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
|
|
|
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
|
|
|
LibreHardwareMonitor/LibreHardwareMonitor
Libre Hardware Monitor is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer.
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.0.0-rc.2.25502.107 | 7,308 | 10/14/2025 | |
| 10.0.0-rc.1.25451.107 | 21,025 | 9/9/2025 | |
| 10.0.0-preview.7.25380.108 | 9,741 | 8/12/2025 | |
| 10.0.0-preview.6.25358.103 | 5,267 | 7/15/2025 | |
| 10.0.0-preview.5.25277.114 | 6,377 | 6/6/2025 | |
| 10.0.0-preview.4.25258.110 | 5,210 | 5/12/2025 | |
| 10.0.0-preview.3.25171.5 | 13,285 | 4/10/2025 | |
| 10.0.0-preview.2.25163.2 | 8,018 | 3/18/2025 | |
| 10.0.0-preview.1.25080.5 | 4,179 | 2/25/2025 | |
| 9.0.10 | 102,920 | 10/14/2025 | |
| 9.0.9 | 444,416 | 9/9/2025 | |
| 9.0.8 | 944,139 | 8/4/2025 | |
| 9.0.7 | 391,452 | 7/8/2025 | |
| 9.0.6 | 676,789 | 6/10/2025 | |
| 9.0.5 | 1,919,239 | 5/13/2025 | |
| 9.0.4 | 1,104,017 | 4/8/2025 | |
| 9.0.3 | 560,273 | 3/11/2025 | |
| 9.0.2 | 1,556,022 | 2/11/2025 | |
| 9.0.1 | 1,455,038 | 1/14/2025 | |
| 9.0.0 | 2,284,681 | 11/12/2024 | |
| 9.0.0-rc.2.24473.5 | 38,881 | 10/8/2024 | |
| 9.0.0-rc.1.24431.7 | 26,801 | 9/10/2024 | |
| 9.0.0-preview.7.24405.7 | 11,124 | 8/13/2024 | |
| 9.0.0-preview.6.24327.7 | 20,904 | 7/9/2024 | |
| 9.0.0-preview.5.24306.7 | 7,070 | 6/11/2024 | |
| 9.0.0-preview.4.24266.19 | 5,687 | 5/21/2024 | |
| 9.0.0-preview.3.24172.9 | 16,395 | 4/11/2024 | |
| 9.0.0-preview.2.24128.5 | 5,604 | 3/12/2024 | |
| 9.0.0-preview.1.24080.9 | 35,052 | 2/13/2024 | |
| 8.0.0 | 33,189,235 | 11/14/2023 | |
| 8.0.0-rc.2.23479.6 | 22,601 | 10/10/2023 | |
| 8.0.0-rc.1.23419.4 | 74,818 | 9/12/2023 | |
| 8.0.0-preview.7.23375.6 | 58,263 | 8/8/2023 | |
| 8.0.0-preview.6.23329.7 | 7,481 | 7/11/2023 | |
| 8.0.0-preview.5.23280.8 | 8,283 | 6/13/2023 | |
| 8.0.0-preview.4.23259.5 | 16,537 | 5/16/2023 | |
| 8.0.0-preview.3.23174.8 | 31,635 | 4/11/2023 | |
| 8.0.0-preview.2.23128.3 | 34,743 | 3/14/2023 | |
| 8.0.0-preview.1.23110.8 | 10,312 | 2/21/2023 | |
| 7.0.2 | 68,527,185 | 6/13/2023 | |
| 7.0.1 | 1,839,556 | 4/11/2023 | |
| 7.0.0 | 6,651,437 | 11/7/2022 | |
| 7.0.0-rc.2.22472.3 | 84,788 | 10/11/2022 | |
| 7.0.0-rc.1.22426.10 | 67,498 | 9/14/2022 | |
| 7.0.0-preview.7.22375.6 | 14,934 | 8/9/2022 | |
| 7.0.0-preview.6.22324.4 | 2,442 | 7/12/2022 | |
| 7.0.0-preview.5.22301.12 | 3,120 | 6/14/2022 | |
| 7.0.0-preview.4.22229.4 | 21,519 | 5/10/2022 | |
| 7.0.0-preview.3.22175.4 | 5,590 | 4/13/2022 | |
| 7.0.0-preview.2.22152.2 | 19,357 | 3/14/2022 | |
| 7.0.0-preview.1.22076.8 | 11,331 | 2/17/2022 | |
| 6.0.2 | 9,163,921 | 6/13/2023 | |
| 6.0.1 | 32,183,890 | 4/11/2023 | |
| 6.0.0 | 44,894,701 | 11/8/2021 | |
| 6.0.0-rc.2.21480.5 | 18,460 | 10/12/2021 | |
| 6.0.0-rc.1.21451.13 | 30,936 | 9/14/2021 | |
| 6.0.0-preview.7.21377.19 | 7,502 | 8/10/2021 | |
| 6.0.0-preview.6.21352.12 | 15,017 | 7/14/2021 | |
| 6.0.0-preview.5.21301.5 | 8,152 | 6/15/2021 | |
| 6.0.0-preview.4.21253.7 | 21,171 | 5/24/2021 | |
| 6.0.0-preview.3.21201.4 | 50,466 | 4/8/2021 | |
| 6.0.0-preview.2.21154.6 | 9,723 | 3/11/2021 | |
| 6.0.0-preview.1.21102.12 | 20,797 | 2/12/2021 | |
| 5.0.0 | 70,447,667 | 11/9/2020 | |
| 5.0.0-rc.2.20475.5 | 14,528 | 10/13/2020 | |
| 5.0.0-rc.1.20451.14 | 7,129 | 9/14/2020 | |
| 5.0.0-preview.8.20407.11 | 17,170 | 8/25/2020 | |
| 5.0.0-preview.7.20364.11 | 38,220 | 7/21/2020 | |
| 5.0.0-preview.6.20305.6 | 9,377 | 6/25/2020 | |
| 5.0.0-preview.5.20278.1 | 5,218 | 6/10/2020 | |
| 5.0.0-preview.4.20251.6 | 9,751 | 5/18/2020 | |
| 5.0.0-preview.3.20214.6 | 36,662 | 4/23/2020 | |
| 5.0.0-preview.2.20160.6 | 31,170 | 4/2/2020 | |
| 5.0.0-preview.1.20120.5 | 10,073 | 3/16/2020 | |
| 4.7.0 | 37,515,605 | 12/3/2019 | |
| 4.7.0-preview3.19551.4 | 17,923 | 11/13/2019 | |
| 4.7.0-preview2.19523.17 | 17,812 | 11/1/2019 | |
| 4.7.0-preview1.19504.10 | 10,729 | 10/15/2019 | |
| 4.6.0 | 9,648,124 | 9/23/2019 | |
| 4.6.0-rc1.19456.4 | 60,061 | 9/16/2019 | |
| 4.6.0-preview9.19421.4 | 5,238 | 9/4/2019 | |
| 4.6.0-preview9.19416.11 | 844 | 9/4/2019 | |
| 4.6.0-preview8.19405.3 | 33,433 | 8/13/2019 | |
| 4.6.0-preview7.19362.9 | 49,870 | 7/23/2019 | |
| 4.6.0-preview6.19303.8 | 96,669 | 6/12/2019 | |
| 4.6.0-preview6.19264.9 | 828 | 9/4/2019 | |
| 4.6.0-preview5.19224.8 | 82,360 | 5/6/2019 | |
| 4.6.0-preview4.19212.13 | 2,540 | 4/18/2019 | |
| 4.6.0-preview3.19128.7 | 43,337 | 3/6/2019 | |
| 4.6.0-preview.19073.11 | 17,458 | 1/29/2019 | |
| 4.6.0-preview.18571.3 | 16,098 | 12/3/2018 | |
| 4.5.0 | 37,079,690 | 5/29/2018 | |
| 4.5.0-rc1 | 49,219 | 5/6/2018 | |
| 4.5.0-preview2-26406-04 | 24,444 | 4/10/2018 | |
| 4.5.0-preview1-26216-02 | 61,390 | 2/26/2018 | |
| 4.5.0-preview1-25914-04 | 360,196 | 11/15/2017 |