System.Management 10.0.14

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.ManagementClass
  • System.Management.ManagementObject
  • System.Management.SelectQuery

Additional Documentation

Feedback & Contributing

System.Management is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on System.Management.

Packages Downloads
BenchmarkDotNet
Powerful .NET library for benchmarking
665
Guna.UI2.WinForms
Guna UI is the suite for creating groundbreaking desktop app UI. It is for developers targeting the .NET Windows Forms platform.
157
Guna.UI2.WinForms
Guna UI is the suite for creating groundbreaking desktop app UI. It is for developers targeting the .NET Windows Forms platform.
111
Guna.UI2.WinForms
Guna UI is the suite for creating groundbreaking desktop app UI. It is for developers targeting the .NET Windows Forms platform.
76
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 Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
62
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 Core as well as .NET Standard.
60
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 Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
60
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.
57
BenchmarkDotNet
Powerful .NET library for benchmarking
57
BenchmarkDotNet
Powerful .NET library for benchmarking
56
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.
56
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 Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
56
BenchmarkDotNet
Powerful .NET library for benchmarking
55
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 Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
55
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.
55

.NET 8.0

.NET 9.0

.NET 10.0

.NET Standard 2.0

Version Downloads Last updated
11.0.0-rc.3.26522.148 11 10/25/2026
11.0.0-rc.2.26504.105 20 10/13/2026
11.0.0-rc.1.26425.128 28 09/10/2026
11.0.0-preview.7.26381.103 28 08/14/2026
11.0.0-preview.6.26359.118 28 07/19/2026
11.0.0-preview.5.26302.115 33 06/09/2026
11.0.0-preview.4.26230.115 37 05/14/2026
11.0.0-preview.3.26207.106 52 04/16/2026
11.0.0-preview.2.26159.112 50 03/14/2026
11.0.0-preview.1.26104.118 53 02/12/2026
10.0.14 12 10/25/2026
10.0.13 18 10/13/2026
10.0.12 24 09/10/2026
10.0.11 31 08/14/2026
10.0.10 33 07/19/2026
10.0.9 32 06/09/2026
10.0.8 32 05/14/2026
10.0.7 60 04/24/2026
10.0.6 48 04/16/2026
10.0.5 56 03/13/2026
10.0.4 57 03/13/2026
10.0.3 53 02/12/2026
10.0.2 60 01/15/2026
10.0.1 69 12/11/2025
10.0.0 6 10/04/2026
10.0.0-rc.2.25502.107 59 12/12/2025
10.0.0-rc.1.25451.107 58 12/12/2025
10.0.0-preview.7.25380.108 6 09/30/2026
10.0.0-preview.6.25358.103 1 10/03/2026
10.0.0-preview.5.25277.114 4 10/08/2026
10.0.0-preview.4.25258.110 8 10/14/2026
10.0.0-preview.3.25171.5 5 10/03/2026
10.0.0-preview.2.25163.2 5 09/30/2026
10.0.0-preview.1.25080.5 5 09/30/2026
9.0.22 10 10/25/2026
9.0.21 15 10/13/2026
9.0.20 28 09/10/2026
9.0.19 29 08/14/2026
9.0.18 29 07/19/2026
9.0.17 32 06/09/2026
9.0.16 38 05/14/2026
9.0.15 53 04/16/2026
9.0.14 53 03/13/2026
9.0.13 58 02/12/2026
9.0.12 53 01/15/2026
9.0.11 61 12/12/2025
9.0.10 63 12/12/2025
9.0.9 54 12/12/2025
9.0.8 50 12/20/2025
9.0.7 59 12/11/2025
9.0.6 5 10/05/2026
9.0.5 662 09/28/2026
9.0.4 8 10/04/2026
9.0.3 5 09/29/2026
9.0.2 4 10/03/2026
9.0.1 7 09/28/2026
9.0.0 8 10/02/2026
9.0.0-rc.2.24473.5 12 09/30/2026
9.0.0-rc.1.24431.7 5 09/30/2026
9.0.0-preview.7.24405.7 6 10/02/2026
9.0.0-preview.6.24327.7 43 12/12/2025
9.0.0-preview.5.24306.7 53 12/11/2025
9.0.0-preview.4.24266.19 5 10/01/2026
9.0.0-preview.3.24172.9 7 09/28/2026
9.0.0-preview.2.24128.5 7 10/06/2026
9.0.0-preview.1.24080.9 9 10/02/2026
8.0.0 12 09/30/2026
8.0.0-rc.2.23479.6 4 09/28/2026
8.0.0-rc.1.23419.4 11 10/01/2026
8.0.0-preview.7.23375.6 7 10/01/2026
8.0.0-preview.6.23329.7 37 12/12/2025
8.0.0-preview.5.23280.8 47 12/11/2025
8.0.0-preview.4.23259.5 6 10/03/2026
8.0.0-preview.3.23174.8 46 12/12/2025
8.0.0-preview.2.23128.3 5 10/01/2026
8.0.0-preview.1.23110.8 7 09/28/2026
7.0.2 9 09/28/2026
7.0.1 6 09/28/2026
7.0.0 8 09/29/2026
7.0.0-rc.2.22472.3 5 09/28/2026
7.0.0-rc.1.22426.10 8 09/30/2026
7.0.0-preview.7.22375.6 8 10/06/2026
7.0.0-preview.6.22324.4 5 10/06/2026
7.0.0-preview.5.22301.12 8 10/03/2026
7.0.0-preview.4.22229.4 8 10/01/2026
7.0.0-preview.3.22175.4 36 12/12/2025
7.0.0-preview.2.22152.2 47 12/12/2025
7.0.0-preview.1.22076.8 7 10/04/2026
6.0.2 6 09/28/2026
6.0.2-mauipre.1.22102.15 4 10/03/2026
6.0.2-mauipre.1.22054.8 6 10/02/2026
6.0.1 7 10/03/2026
6.0.0 3 10/20/2026
6.0.0-rc.2.21480.5 7 09/30/2026
6.0.0-rc.1.21451.13 8 09/28/2026
6.0.0-preview.7.21377.19 46 12/12/2025
6.0.0-preview.6.21352.12 6 10/01/2026
6.0.0-preview.5.21301.5 6 10/01/2026
6.0.0-preview.4.21253.7 45 12/11/2025
6.0.0-preview.3.21201.4 46 12/10/2025
6.0.0-preview.2.21154.6 9 10/06/2026
6.0.0-preview.1.21102.12 6 10/06/2026
5.0.0 7 09/29/2026
5.0.0-rc.2.20475.5 9 10/04/2026
5.0.0-rc.1.20451.14 8 10/03/2026
5.0.0-preview.8.20407.11 5 09/29/2026
5.0.0-preview.7.20364.11 47 12/11/2025
5.0.0-preview.6.20305.6 5 09/28/2026
5.0.0-preview.5.20278.1 8 10/06/2026
5.0.0-preview.4.20251.6 44 12/14/2025
5.0.0-preview.3.20214.6 48 12/10/2025
5.0.0-preview.2.20160.6 5 10/06/2026
5.0.0-preview.1.20120.5 3 10/02/2026
4.7.0 9 09/28/2026
4.7.0-preview3.19551.4 46 12/14/2025
4.7.0-preview2.19523.17 6 10/14/2026
4.7.0-preview1.19504.10 5 10/14/2026
4.6.0 3 09/30/2026
4.6.0-rc1.19456.4 41 12/12/2025
4.6.0-preview9.19421.4 8 10/02/2026
4.6.0-preview9.19416.11 13 10/06/2026
4.6.0-preview8.19405.3 7 09/28/2026
4.6.0-preview7.19362.9 4 10/04/2026
4.6.0-preview6.19303.8 6 10/06/2026
4.6.0-preview6.19264.9 4 09/30/2026
4.6.0-preview5.19224.8 8 09/30/2026
4.6.0-preview4.19212.13 8 10/01/2026
4.6.0-preview3.19128.7 40 12/14/2025
4.6.0-preview.19073.11 43 12/12/2025
4.6.0-preview.18571.3 4 09/29/2026
4.5.0 9 09/28/2026
4.5.0-rc1 11 10/01/2026
4.5.0-preview2-26406-04 8 09/28/2026
4.5.0-preview1-26216-02 8 10/03/2026
4.5.0-preview1-25914-04 5 09/30/2026