Skip to content

utfull/DugongDiagnosticPro

Repository files navigation

DugongDiagnosticPro

GitHub license

DugongDiagnosticPro, based on LibreHardwareMonitor, is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer. Brought to you by Dugong International Private Limited.

What's included?

Name .NET Build Status
DugongDiagnosticPro
Windows Forms based application that presents all data in a graphical interface
.NET Framework 4.7.2 Build status
DugongDiagnosticProLib
Library that allows you to use all features in your own application
.NET Framework 4.7.2, .NET 6.0, and .NET 8.0 Build status

What can it do?

You can read information from devices such as:

  • Motherboards
  • Intel and AMD processors
  • NVIDIA and AMD graphics cards
  • HDD, SSD and NVMe hard drives
  • Network cards

Where can I download it?

You can download the latest release from our website: www.dugong.in/dugong-Diagnostic-pro

Updates

For the latest updates and information, please visit our website: www.dugong.in/dugong-Diagnostic-pro

Need Help?

If you need assistance or have any questions, please contact us at: Diagnostics@dugong.in

Developer information

Integrate the library in own application

  1. Add the DugongDiagnosticProLib NuGet package to your application.
  2. Use the sample code below.

Sample code

public class UpdateVisitor : IVisitor
{
    public void VisitComputer(IComputer computer)
    {
        computer.Traverse(this);
    }
    public void VisitHardware(IHardware hardware)
    {
        hardware.Update();
        foreach (IHardware subHardware in hardware.SubHardware) subHardware.Accept(this);
    }
    public void VisitSensor(ISensor sensor) { }
    public void VisitParameter(IParameter parameter) { }
}

public void Monitor()
{
    Computer computer = new Computer
    {
        IsCpuEnabled = true,
        IsGpuEnabled = true,
        IsMemoryEnabled = true,
        IsMotherboardEnabled = true,
        IsControllerEnabled = true,
        IsNetworkEnabled = true,
        IsStorageEnabled = true
    };

    computer.Open();
    computer.Accept(new UpdateVisitor());

    foreach (IHardware hardware in computer.Hardware)
    {
        Console.WriteLine("Hardware: {0}", hardware.Name);
        
        foreach (IHardware subhardware in hardware.SubHardware)
        {
            Console.WriteLine("\tSubhardware: {0}", subhardware.Name);
            
            foreach (ISensor sensor in subhardware.Sensors)
            {
                Console.WriteLine("\t\tSensor: {0}, value: {1}", sensor.Name, sensor.Value);
            }
        }

        foreach (ISensor sensor in hardware.Sensors)
        {
            Console.WriteLine("\tSensor: {0}, value: {1}", sensor.Name, sensor.Value);
        }
    }
    
    computer.Close();
}

Administrator rights

Some sensors require administrator privileges to access the data. Restart your IDE with admin privileges, or add an app.manifest file to your project with requestedExecutionLevel on requireAdministrator.

License

DugongDiagnosticPro is based on LibreHardwareMonitor which is free and open source software licensed under MPL 2.0. You can use it in private and commercial projects. Keep in mind that you must include a copy of the license in your project.

This software is distributed by Dugong International Private Limited. Visit our website at www.dugong.in for more information.

Acknowledgments

This software is based on LibreHardwareMonitor, originally licensed under the Mozilla Public License 2.0.

All modifications and distributions by Dugong International Private Limited comply with MPL 2.0 license terms.

🔗 Full license text:LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published