Effort to bring System.Management to .NET Core is bringing it's first results see PR dotnet/corefx#24719 and it could be a good opportunity to investigate possibility to support this library on Linux. This is becoming possible due to continuous work on implementing CIM and WMI infrastructure in Linux kernel see Windows Management Instrumentation Now A Formal Bus With Linux 4.13. The requests for hardware query APIs are not that uncommon see dotnet/runtime#22948
We would potentially be interested in contributions to add Linux support for the existing WMI surface area. We don't plan to modify the surface area though: this is quite an old API.
Linking issue to umbrella System.Managment porting issue dotnet/runtime#19785
It would definitely be nice to have the ability to issue remote WQLs for performance monitoring, etc. from a Linux system. .Net really only provides a couple options, CimSession (in MS.Mgmt.Infrastructure) or ManagementScope here in System.Management.
I would be willing to jump in and help build this out; does anyone have an ideal of what level of involvement this will require?
Support for WMI in Linux would be extremely useful for a current project. Currently creating a console based app that scans a network looking for management information to investigate security flaws, such as out of date software. Linux was first choice due to lightweight server deployment with no need for front end.
Some one know any third party module/nuget package which will help extracting hardware info of linux system?
I have seen two requests in this area
Can someone more familiar with the various 3rd party libraries, kernel support etc tell me whether those should be tracked as separate issues?
I have seen two requests in this area
- Run WMI queries across a network from an app running on Linux
- Use WMI to interrogate Linux hardware /OS
Can someone more familiar with the various 3rd party libraries, kernel support etc tell me whether those should be tracked as separate issues?
Just to confirm my request is for no. 1 out of these two options.
I'd like to see no. 2.
I would also like to see no. 2. Even if somebody point me to third party nuget package then it will also be helpful
Same here. Having a platform independent package to query hardware information would be great.
I have seen two requests in this area
- Run WMI queries across a network from an app running on Linux
- Use WMI to interrogate Linux hardware /OS
Can someone more familiar with the various 3rd party libraries, kernel support etc tell me whether those should be tracked as separate issues?
Is there any movement on this please? Specifically interested in 1. Run WMI queries across a network from an app running on Linux, Thanks!
Most helpful comment
I'd like to see no. 2.