using System.Diagnostics; using Daybreak.Shared.Services.ApplicationLauncher; namespace Daybreak.Windows.Services.ApplicationLauncher; /// /// Windows-specific Steam service. Detects the running Steam client by process name. /// public sealed class SteamService : ISteamService { private const string SteamProcessName = "steam"; public bool IsSteamLoginSupported => true; public bool IsSteamRunning() { return Process.GetProcessesByName(SteamProcessName).Length > 0; } }