Class ServerStatus
Represents a VPN server's state, as it sends it to its access manager at each status (Server_UpdateStatus(ServerStatus, CancellationToken)).
public class ServerStatus
- Inheritance
-
ServerStatus
- Inherited Members
Properties
AvailableMemory
Gets or sets the machine's available memory, in bytes, or null where not known.
public long? AvailableMemory { get; set; }
Property Value
- long?
AvailableSwapMemory
Gets or sets the machine's free swap, in bytes, or null where the server does not manage swap or could not read it.
public long? AvailableSwapMemory { get; set; }
Property Value
- long?
ConfigCode
Gets or sets the code of the configuration the server last applied, or null.
public string? ConfigCode { get; set; }
Property Value
ConfigError
Gets or sets the last configuration's error, as the JSON of an ApiError, or null.
public string? ConfigError { get; set; }
Property Value
CpuUsage
Gets or sets the CPU's use, as the platform reports it, or null where not known.
public int? CpuUsage { get; set; }
Property Value
- int?
EndPointStatuses
Gets or sets how the listeners fared at the last configuration, sent once after it; null otherwise.
public ServerHostEndPointStatus[]? EndPointStatuses { get; set; }
Property Value
SessionCount
Gets or sets the number of the server's open sessions.
public int SessionCount { get; set; }
Property Value
SessionUsages
Gets or sets the sessions' usage since their last report, which goes with each status. The default is none.
public SessionUsage[] SessionUsages { get; set; }
Property Value
TcpCongestionControl
Gets or sets the TCP congestion control the OS runs, or null where the server does not manage its network.
public string? TcpCongestionControl { get; set; }
Property Value
TcpConnectionCount
Gets or sets the number of the sessions' stream channels: forwarded TCP connections and packet channels, those carried over QUIC included.
public int TcpConnectionCount { get; set; }
Property Value
ThreadCount
Gets or sets the number of the server process's threads.
public int ThreadCount { get; set; }
Property Value
TotalSwapMemory
Gets or sets the machine's swap in all, in bytes, or null where the server does not manage swap or could not read it.
public long? TotalSwapMemory { get; set; }
Property Value
- long?
TunnelSpeed
Gets or sets the sessions' tunnel speed in all, sent and received, in bytes per second.
public Traffic TunnelSpeed { get; set; }
Property Value
UdpConnectionCount
Gets or sets the number of the sessions' UDP workers, where the server forwards UDP itself.
public int UdpConnectionCount { get; set; }
Property Value
UsedMemory
Gets or sets the server process's working set, in bytes.
public long UsedMemory { get; set; }