System.Management 9.0.2

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
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.
35
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.
34
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.
33
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.
31
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.
31
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.
30
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.
29
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.
28
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.
28
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.
27
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.
26
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.
26
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.
25
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.
24

.NET 8.0

.NET 9.0

.NET Standard 2.0

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