dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.98k stars 4.66k forks source link

System.Management.Instrumentation #32238

Open HimanshuZinzuwadia opened 4 years ago

HimanshuZinzuwadia commented 4 years ago

I am trying to convert a dotnet framework library that emits WMI Events to .NET core 3.0 or .NET Standard 2.1. Is it possible now or in future with Microsoft.Windows compatibility pack for .NET Core? I reviewed the current System.Management and it seems that there is nothing for System.Management.Instrumentation.BaseEvent.

Question is here because the project site for the Nuget package points to dotnet/corefx and it in turn now points to dotnet/runtime.

Anipik commented 4 years ago

Currently we dont have any plan to port this type.

@HimanshuZinzuwadia Can you some more context on what ur use case scenario is, we might be able to help u woth the transition.

HimanshuZinzuwadia commented 4 years ago

The context is that my .NET program fires WMI events under some error conditions. This is done so that system monitoring tools can hook into that event and set off some support workflows. There are many well established system monitoring tools (including Microsoft's own SCOM) that hook on to WMI events. By not having it, users of my upgraded program have to rewrite how their monitoring rules. So the additional overhead of doing that prevents users of my .NET program from upgrading to .NET standard / core version.