1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/Utilities/Configuration/StatusConfig.cs
Uncled1023 2c972f1a83 Added Status page for viewing realtime stats of server resources.
Currently setup with CPU, Memory, and Network
2017-02-17 16:54:27 -08:00

37 lines
869 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Teknik.Configuration
{
public class StatusConfig
{
public bool Enabled { get; set; }
public bool ShowWebStatus { get; set; }
public bool ShowDatabaseStatus { get; set; }
public bool ShowNetworkStatus { get; set; }
public string DatabaseProcessName { get; set; }
public string NetworkInterface { get; set; }
public long TotalMemory { get; set; }
public StatusConfig()
{
Enabled = false;
ShowWebStatus = false;
ShowDatabaseStatus = false;
ShowNetworkStatus = false;
DatabaseProcessName = string.Empty;
NetworkInterface = string.Empty;
TotalMemory = 0;
}
}
}