Table of Contents

Enum AlwaysOnStatus

Namespace
VpnHood.AppLib.Api.App
Assembly
VpnHood.AppLib.Api.dll

Specifies where always-on stands, where the app keeps it itself.

[JsonConverter(typeof(JsonStringEnumConverter<AlwaysOnStatus>))]
public enum AlwaysOnStatus

Fields

Off = 0

Always-on is off.

On = 1

Always-on is on, with nothing to wait for: a session is up or on its way, or none has failed since.

Waiting = 2

A connect failed to reach a working server, and is tried again at RetryTime.

Stopped = 3

Something else stopped it, until a person connects; a stop by an error also ends when the plan changes or the service restarts, but one by another VPN app taking the device's VPN lasts through a restart.