This commit is contained in:
2025-07-02 16:06:50 +03:00
parent f9d6695d96
commit 87ba9aa4b8
16 changed files with 622 additions and 582 deletions
+8 -6
View File
@@ -1,19 +1,21 @@
// File: Configuration/AppSettings.cs
namespace WebmrAPI.Configuration
{
public class AppSettings
{
public AgentSettings Agent { get; set; } = new AgentSettings();
public WebServerSettings WebServer { get; set; } = new WebServerSettings();
public MonitoringSettings Monitoring { get; set; } = new MonitoringSettings();
public WebServerSettings WebServer { get; set; } = new WebServerSettings();
}
public class AgentSettings
public class MonitoringSettings
{
public int ScanIntervalSeconds { get; set; } = 5; // Default scan every 5 seconds
public string TargetProcessName { get; set; } = "example.exe"; // Default target process
public int ProcessScanInterval { get; set; } = 5;
public int MemoryRegionScanTimeout { get; set; } = 30;
}
public class WebServerSettings
{
public string Url { get; set; } = "http://0.0.0.0:8080"; // Default listening URL
}
}
}