winmr-api/Configuration/AppSettings.cs
2025-07-03 20:01:19 +03:00

25 lines
778 B
C#

// File: Configuration/AppSettings.cs
namespace WebmrAPI.Configuration
{
public class AppSettings
{
public MonitoringSettings Monitoring { get; set; } = new MonitoringSettings();
public WebServerSettings WebServer { get; set; } = new WebServerSettings();
}
public class MonitoringSettings
{
public int ProcessScanInterval { get; set; } = 5;
public int MemoryRegionScanTimeout { get; set; } = 30;
public int ThreadScanTimeout { get; set; } = 30;
public int ModuleScanTimeout { get; set; } = 60;
public bool AllowProcessReadAccess { get; set; } = true;
}
public class WebServerSettings
{
public string Url { get; set; } = "http://0.0.0.0:8080"; // Default listening URL
}
}