public VpnStateChangedEventArgs(VpnState state, VpnError error, bool networkBlocked) { Ensure.NotNull(state, nameof(state)); State = state; Error = error; NetworkBlocked = networkBlocked; }
public VpnStateChangedEventArgs(VpnState state, VpnError error, bool networkBlocked, VpnProtocol protocol = VpnProtocol.Auto) { Ensure.NotNull(state, nameof(state)); State = state; Error = error; NetworkBlocked = networkBlocked; Protocol = protocol; }