A "System Monitor" project using "WMI" and "Open Hardware Monitor". Written in C-sharp by Mark Becker in 2012, fork by Mohammad Yaser Ammar in 2021 This project is my desire to experience developing my skills and supporting open source projects, this is the second project that I have been working on for GitHub! Project fork from: https://github.com/markbecker/WMI_Monitor_Csharp Correcting problems to run in 2021 1 - When opening the project for the first time, we get about 116 errors, as in the picture Do not worry, this is because the program version differed from 2010 to 2019, so the handling of libraries is a little different, the solution to this problem is simply to enter the library store (one of the advantages of Visual Studio 2019 is the ease of downloading and updating libraries) Store Picture of NuGet Packages we enter it like the image Then we are looking to download this library as in the picture 2 - Now with these problems is to modify the method of queries in the code because an error such as Simply the first initial solution is to make a comment when calling the method to limit the problem 3 - This problem is similar to the previous one, but I will explain the reasons for it because it depends on the device that the driver contains or not. When opening the tool at the highest level it shows us blank information, but this is with a comment of course To solve it, we will go through a series of steps to understand that, if you encounter a similar problem, dear reader and programmer, with WMI, how you think to solve it 🤔. We notice here, via the tool that examines the queries for that, that the query in the code does not exist basically as in the picture (I will explain the tool in the next section) When modifying to find the determinant by itself and a direct query is still the error, why? If we try in another system, for example Windows Server 2019, we investigate that it works with the tool without problems, as well as if we run the program on it The solution I think with Windows 10 is to download features of WMI and SNMP from settings I added a temporary solution with the error handling method through try and catch so that the program does not stop running in the event that a specific query is lost. As in the picture Using a utility to scan directly on Windows devices and for queries, are they present or not before checking the code. To enter it, run from the Windows button with the letter R. Then we call the field we want and inquire about the specific query as I explained in the picture The explanation of the program has been completed Soon I will add new features 🔜, so do not forget to follow the account and star to the repository ✔🌟😁 My GitHub: This site is nice for writing description stackedit Thank you for reading all of this to benefit you instead of just copying and pasting ✂! The part in which Mohammad Yaser Ammar wrote has ended
|
forked from markbecker/WMI_Monitor_Csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
MohammadYAmmar/WMI_Monitor_Csharp
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A "System Monitor" project using "WMI" and "Open Hardware Monitor" in C#, Second project I did to fork & a fix to an existing project, with explain
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C# 100.0%