Skip to content

Commit

Permalink
Use new DLL and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
irusanov committed Mar 1, 2024
1 parent dee2f2b commit b082d15
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 210 deletions.
Binary file modified Prebuilt/ZenStates-Core.dll
Binary file not shown.
6 changes: 3 additions & 3 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("irusanov")]
[assembly: AssemblyProduct("Ryzen SDT")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyCopyright("Copyright © 2022-2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
Expand All @@ -33,5 +33,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.35.0")]
[assembly: AssemblyFileVersion("1.35.0")]
[assembly: AssemblyVersion("1.36.0")]
[assembly: AssemblyFileVersion("1.36.0")]
9 changes: 4 additions & 5 deletions SettingsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using System.Windows.Forms;
using ZenStates.Core;
using ZenStatesDebugTool.Properties;
using ZenStatesDebugTool.Utils;
using Application = System.Windows.Forms.Application;
using static ZenStates.Core.Cpu;
using Microsoft.Win32.TaskScheduler;
Expand Down Expand Up @@ -106,14 +105,14 @@ private void DisplaySystemInfo()
{
cpuInfoLabel.Text = cpu.systemInfo.CpuName;
modelInfoLabel.Text = $"{cpu.systemInfo.Model:X2}";
packageTypeInfoLabel.Text = cpu.systemInfo.PackageType;
packageTypeInfoLabel.Text = cpu.info.packageType.ToString();
mbVendorInfoLabel.Text = cpu.systemInfo.MbVendor;
mbModelInfoLabel.Text = cpu.systemInfo.MbName;
biosInfoLabel.Text = cpu.systemInfo.BiosVersion;
smuInfoLabel.Text = cpu.systemInfo.GetSmuVersionString();
firmwareInfoLabel.Text = $"{cpu.systemInfo.PatchLevel:X8}";
cpuIdLabel.Text = $"{cpu.systemInfo.GetCpuIdString()} ({cpu.info.codeName})";
configInfoLabel.Text = $"{cpu.systemInfo.CCDCount} CCD / {cpu.systemInfo.CCXCount} CCX / {cpu.systemInfo.PhysicalCoreCount} physical cores";
configInfoLabel.Text = $"{cpu.info.topology.ccds} CCD / {cpu.info.topology.ccxs} CCX / {cpu.systemInfo.PhysicalCoreCount} physical cores";
}
catch { }
}
Expand Down Expand Up @@ -1412,7 +1411,7 @@ private void PopulateWmiFunctions()
{
try
{
pack = WMI.InvokeMethod(classInstance, functionObject, "pack", null, 0);
pack = WMI.InvokeMethodAndGetValue(classInstance, functionObject, "pack", null, 0);

if (pack != null)
{
Expand Down Expand Up @@ -1461,7 +1460,7 @@ private void ComboBoxAvailableCommands_SelectedIndexChanged(object sender, Event

if (command.isSet) {
// Get possible values (index) of a memory option in BIOS
var dvaluesPack = WMI.InvokeMethod(classInstance, "Getdvalues", "pack", "ID", command.value);
var dvaluesPack = WMI.InvokeMethodAndGetValue(classInstance, "Getdvalues", "pack", "ID", command.value);
if (dvaluesPack != null)
{
uint[] DValuesBuffer = (uint[])dvaluesPack.GetPropertyValue("DValuesBuffer");
Expand Down
201 changes: 0 additions & 201 deletions Utils/WMI.cs

This file was deleted.

1 change: 0 additions & 1 deletion ZenStatesDebugTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utils\WMI.cs" />
<EmbeddedResource Include="SMUMonitor.resx">
<DependentUpon>SMUMonitor.cs</DependentUpon>
</EmbeddedResource>
Expand Down

0 comments on commit b082d15

Please sign in to comment.