Skip to content

Commit 1770383

Browse files
committed
upgrade nuget packages
1 parent c23dea3 commit 1770383

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

OpenHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ private static bool QueryStringFromBatteryInfo(SafeFileHandle battery, Kernel32.
2929
out uint stringSizeBytes,
3030
IntPtr.Zero))
3131
{
32-
// Use the value stored in stringSizeBytes to avoid relying on a
33-
// terminator char.
34-
// See https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/1158#issuecomment-1979559929
32+
// Use the value stored in stringSizeBytes to avoid relying on a terminator char.
3533
int stringSizeChars = (int)stringSizeBytes / 2;
3634
value = Marshal.PtrToStringUni(ptrString, stringSizeChars).Trim('\0');
3735
result = true;

OpenHardwareMonitorLib/OpenHardwareMonitorLib.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@
9090
<ItemGroup>
9191
<PackageReference Include="HidSharp" Version="2.6.4" />
9292
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
93-
<PackageReference Include="System.IO.Ports" Version="10.0.2" />
93+
<PackageReference Include="System.IO.Ports" Version="10.0.3" />
9494
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="5.0.0" />
9595
<PackageReference Include="SergiyE.Common" Version="1.*" />
96-
<PackageReference Include="System.Management" Version="10.0.2" />
97-
<PackageReference Include="System.Threading.AccessControl" Version="10.0.2" />
96+
<PackageReference Include="System.Management" Version="10.0.3" />
97+
<PackageReference Include="System.Threading.AccessControl" Version="10.0.3" />
9898
<PackageReference Include="RAMSPDToolkit-NDD" Version="1.4.2" />
9999
</ItemGroup>
100100
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">

0 commit comments

Comments
 (0)