aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application/Management/ManagementService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Application/Management/ManagementService.cs b/src/slskd/Application/Management/ManagementService.cs
index 07767e20..0aff7658 100644
--- a/src/slskd/Application/Management/ManagementService.cs
+++ b/src/slskd/Application/Management/ManagementService.cs
@@ -58,6 +58,11 @@ namespace slskd.Management
private ILogger Log { get; } = Serilog.Log.ForContext<ManagementService>();
/// <summary>
+ /// Gets the current state of the slskd service.
+ /// </summary>
+ public ApplicationState ApplicationState => ApplicationStateMonitor.CurrentValue;
+
+ /// <summary>
/// Gets the current state of the connection to the Soulseek server.
/// </summary>
public ServerState ServerState =>