Update README.md
This commit is contained in:
@@ -9,8 +9,8 @@ Libre Hardware Monitor, a fork of Open Hardware Monitor, is free software that c
|
||||
| **LibreHardwareMonitor** <br /> Windows Forms based application that presents all data in a graphical interface | .NET Framework 4.7.2 | [](https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/actions) |
|
||||
| **LibreHardwareMonitorLib** <br /> Library that allows you to use all features in your own application | .NET Framework 4.7,<br />.NET Standard 2.0,<br />.NET 6.0 | [](https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/actions) |
|
||||
|
||||
## What can you do?
|
||||
With the help of LibreHardwareMonitor you can read information from devices such as:
|
||||
## What can it do?
|
||||
You can read information from devices such as:
|
||||
- Motherboards
|
||||
- Intel and AMD processors
|
||||
- NVIDIA and AMD graphics cards
|
||||
@@ -25,27 +25,14 @@ If you're **signed in to GitHub**, you can also download the latest builds [here
|
||||
The LibreHardwareMonitor team welcomes feedback and contributions!<br/>
|
||||
You can check if it works properly on your motherboard. For many manufacturers, the way of reading data differs a bit, so if you notice any inaccuracies, please send us a pull request. If you have any suggestions or improvements, don't hesitate to create an issue.
|
||||
|
||||
## What's the easiest way to start?
|
||||
**LibreHardwareMonitor application:** - [How to compile the application](https://docs.microsoft.com/en-us/visualstudio/ide/compiling-and-building-in-visual-studio)
|
||||
*Compiling LibreHardwareMonitor requires [Visual Studio 2022](https://docs.microsoft.com/en-us/visualstudio/ide/whats-new-visual-studio-2022?view=vs-2022).*
|
||||
1. Download the repository and compile 'LibreHardwareMonitor'.
|
||||
2. You can start the **net472\LibreHardwareMonitor.exe** application immediately.
|
||||
|
||||
**NuGet Package** - [How to use NuGet](https://docs.microsoft.com/en-us/nuget/quickstart/install-and-use-a-package-in-visual-studio)
|
||||
1. Add the [LibreHardwareMonitorLib package](https://www.nuget.org/packages/LibreHardwareMonitorLib/) to your application.
|
||||
2. References will be added automatically, you can use the sample code below.
|
||||
## Developer information
|
||||
**Integrate the library in own application**
|
||||
1. Add the [LibreHardwareMonitorLib](https://www.nuget.org/packages/LibreHardwareMonitorLib/) NuGet package to your application.
|
||||
2. Use the sample code below.
|
||||
|
||||
|
||||
**Sample code:** - [How to add C# reference](https://docs.microsoft.com/en-us/visualstudio/ide/how-to-add-or-remove-references-by-using-the-reference-manager?view=vs-2019)
|
||||
1. Download the repository and compile 'LibreHardwareMonitorLib'.
|
||||
2. Add references to 'LibreHardwareMonitorLib.dll' and 'HidSharp.dll' in your project.
|
||||
3. In your main file, add namespace ```using LibreHardwareMonitor.Hardware;```
|
||||
4. Now you can read most of the data from your devices.
|
||||
|
||||
**Sample code**
|
||||
```c#
|
||||
/*
|
||||
* Example for .NET Framework
|
||||
*/
|
||||
public class UpdateVisitor : IVisitor
|
||||
{
|
||||
public void VisitComputer(IComputer computer)
|
||||
|
||||
Reference in New Issue
Block a user