25 lines
778 B
C#
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
|
|
}
|
|
}
|