winmr-api/Configuration/AppSettings.cs

22 lines
603 B
C#
Raw Normal View History

2025-07-02 16:06:50 +03:00
// File: Configuration/AppSettings.cs
2025-06-30 18:15:07 +03:00
namespace WebmrAPI.Configuration
{
public class AppSettings
{
2025-07-02 16:06:50 +03:00
public MonitoringSettings Monitoring { get; set; } = new MonitoringSettings();
public WebServerSettings WebServer { get; set; } = new WebServerSettings();
2025-06-30 18:15:07 +03:00
}
2025-07-02 16:06:50 +03:00
public class MonitoringSettings
2025-06-30 18:15:07 +03:00
{
2025-07-02 16:06:50 +03:00
public int ProcessScanInterval { get; set; } = 5;
public int MemoryRegionScanTimeout { get; set; } = 30;
2025-06-30 18:15:07 +03:00
}
public class WebServerSettings
{
public string Url { get; set; } = "http://0.0.0.0:8080"; // Default listening URL
}
2025-07-02 16:06:50 +03:00
}