Skip to content

Commit

Permalink
Update SystemInfoHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
laolarou726 committed Oct 11, 2023
1 parent c712cbb commit f617456
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ProjBobcat/ProjBobcat/Class/Helper/SystemInfoHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ namespace ProjBobcat.Class.Helper;
/// </summary>
public static class SystemInfoHelper
{
public static bool IsRunningUnderTranslation()
{
#if WINDOWS
return Platforms.Windows.SystemInfoHelper.IsRunningUnderTranslation();
#else
return false;
#endif
}

public static CPUInfo? GetProcessorUsage()
{
#if WINDOWS
Expand Down

0 comments on commit f617456

Please sign in to comment.