Skip to content

Commit

Permalink
Fix info infos again
Browse files Browse the repository at this point in the history
  • Loading branch information
Sella-GH committed Jun 20, 2024
1 parent e36ff56 commit c544016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AzzyBot-Next/Utilities/AzzyStatsHardware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static async Task<Dictionary<string, AzzyNetworkStatsRecord>> ReadNetworkStatsAs
return networkSpeeds;
}

public static string GetSystemOs => Environment.OSVersion.VersionString;
public static string GetSystemOs => RuntimeInformation.OSDescription;
public static string GetSystemOsArch => RuntimeInformation.OSArchitecture.ToString();
public static DateTime GetSystemUptime => DateTime.Now.AddMilliseconds(-Environment.TickCount64);
}

0 comments on commit c544016

Please sign in to comment.