<PackageReference Include="Microsoft.Identity.Client" Version="4.84.2-preview4-GetManagedIdentityCapabilitiesAsync" />

Microsoft.Identity.Client.PlatformsCommon.Shared.DesktopOsHelper

static class DesktopOsHelper
namespace Microsoft.Identity.Client.PlatformsCommon.Shared { internal static class DesktopOsHelper { public static bool IsWindows(); public static bool IsLinux(); public static bool IsMac(); public static bool IsRunningOnWsl(); public static string GetWindowsVersionString(); public static bool IsWin10OrServerEquivalent(); public static bool IsUserInteractive(); public static bool IsMacConsoleApp(); } }