![]() |
VOOZH | about |
dotnet add package RAMSPDToolkit-NDD --version 1.5.0
NuGet\Install-Package RAMSPDToolkit-NDD -Version 1.5.0
<PackageReference Include="RAMSPDToolkit-NDD" Version="1.5.0" />
<PackageVersion Include="RAMSPDToolkit-NDD" Version="1.5.0" />Directory.Packages.props
<PackageReference Include="RAMSPDToolkit-NDD" />Project file
paket add RAMSPDToolkit-NDD --version 1.5.0
#r "nuget: RAMSPDToolkit-NDD, 1.5.0"
#:package RAMSPDToolkit-NDD@1.5.0
#addin nuget:?package=RAMSPDToolkit-NDD&version=1.5.0Install as a Cake Addin
#tool nuget:?package=RAMSPDToolkit-NDD&version=1.5.0Install as a Cake Tool
👁 GitHub license
👁 Build master
👁 Nuget
👁 Nuget
👁 Nuget
A toolkit for accessing RAMs SPD. Primarily used for reading temperature and data from SPD.<br/> Reading from SPD is standardized by JEDEC, for the most part.<br/>
It is possible and supported to write data via SMBus, but NOT recommended and dangerous for your hardware.<br/> You can also write data to the SPD via SMBus, when write protection is disabled, which is also NOT recommended.<br/> Doing so COULD brick whatever hardware you're writing to, rendering that hardware part useless.<br/> Writing to something you should not write to means: this piece of hardware WILL be a rock, once again.<br/> Do this at your own risk and only if you know what you are doing.
| Project | .NET Version[s] |
|---|---|
| RAMSPDToolkit <br/> RAM SPD functionality for your software / application. <br/> Also includes various SMBus implementations for Windows and Linux. | .NET Framework 4.7.2 & 4.8.1 <br/> .NET Standard 2.0 <br/> .NET 8, 9 and 10 |
| ConsoleOutputTest <br/> Example Application to show how some library functionality can be used. | .NET 8 |
| GZipSingleFile <br/> Small ("internal") console application used to zip driver files. | .NET 8 |
| Tools <br/> Tools for the project. | --- |
We currently support Windows and Linux.<br/> There is currently no plan to support Mac / Apple Computers.
We support DDR4 & DDR5 RAM on Intel & AMD systems.
You can download the latest release from here.
Feel free to give feedback and contribute to our project !<br/> Pull requests are welcome. Please include as much information as possible.
Integrate the library in your own application
Sample code
static class Program
{
static void Main(string[] args)
{
//You can enable logging and set level, if you need logging output
Logger.Instance.IsEnabled = true;
Logger.Instance.LogLevel = LogLevel.Trace;
//Check for Windows OS and load driver
if (OperatingSystem.IsWindows())
{
//Load driver
if (DriverManager.LoadDriver(DriverImplementation.WinRing0)) //use WinRing0 driver
//if (DriverManager.LoadDriver(DriverImplementation.PawnIO)) //use PawnIO driver
{
Console.WriteLine($"***** Driver {DriverManager.DriverImplementation} is open. *****");
}
else
{
Console.WriteLine($"***** DRIVER ERROR *****");
throw new Exception("Driver is not open.");
}
}
//Detect SMBuses
SMBusManager.DetectSMBuses();
//Go through available SMBuses
foreach (var bus in SMBusManager.RegisteredSMBuses)
{
//Go through possible RAM slots
for (byte i = SPDConstants.SPD_BEGIN; i <= SPDConstants.SPD_END; i++)
{
//Detect what kind of RAM we have
var detector = new SPDDetector(bus, i);
//We have a RAM stick here
if (detector.IsValid)
{
if (detector.Accessor is IThermalSensor ts)
{
//Get temperature, if possible
if (ts.HasThermalSensor && ts.UpdateTemperature())
{
//Output temperature for detected RAM sticks
Console.WriteLine($"DIMM #{i - SPDConstants.SPD_BEGIN}: {ts.Temperature}°C / {TemperatureConverter.CelsiusToFahrenheit(ts.Temperature)}°F.");
}
}
}
}
}
//Check for Windows before unloading driver
if (OperatingSystem.IsWindows())
{
//Unload the driver - this removes extracted driver files and unloads them
DriverManager.Driver.Unload();
Console.WriteLine("***** Closed driver *****");
}
//Save log file to current directory, if you enabled logging output
Logger.Instance.SaveToFile("Log.txt", false);
//All done
Console.WriteLine("Press enter to exit...");
Console.ReadLine();
}
}
Administrator rights
Some functionality requires administrator privileges to access the data.<br/>
Consider adding a manifest file to your application and set requestedExecutionLevel to requireAdministrator.
Yes, you can implement your own driver. This can be done using our IGenericDriver interface.<br/> If you will be using any of our pre-defined drivers you will find specific interfaces for them aswell, which you can implement.<br/> Whatever you do, please be sure to use a well tested driver.<br/> New driver suggestions are welcome. Please open an issue on the repository and we will check.
We also provide a version without any internal driver implementation or binaries. You can change compilation configuration for that or use the NDD package.
RAMSPDToolkit is free and open source software licensed under MPL 2.0.<br/> You can use it in private and commercial projects.<br/> Keep in mind that you must include a copy of the license in your project.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 is compatible. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 2 NuGet packages that depend on RAMSPDToolkit-NDD:
| Package | Downloads |
|---|---|
|
LibreHardwareMonitorLib
Monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer. |
|
|
OpenHardwareMonitorLib
Monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer. |
Showing the top 6 popular GitHub repositories that depend on RAMSPDToolkit-NDD:
| Repository | Stars |
|---|---|
|
LibreHardwareMonitor/LibreHardwareMonitor
Libre Hardware Monitor is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer.
|
|
|
Valkirie/HandheldCompanion
ControllerService
|
|
|
LenovoLegionToolkit-Team/LenovoLegionToolkit
Lenovo Legion Toolkit (LLT) is a Windows desktop utility created for Lenovo gaming laptops that replaces Lenovo Vantage, Legion Zone, and Legion Space.
|
|
|
CXWorld/CapFrameX
Frametime capture and analysis tool
|
|
|
breadeding/OmenSuperHub
Control Omen laptop performance, fan speeds, and keyboard lighting, and unlock power limits.
|
|
|
HardwareMonitor/OpenHardwareMonitor
Open hardware monitor - system sensors monitoring application for Windows
|