Exemplo n.º 1
0
 public VpnStateContract(
     VpnStatusContract status,
     VpnErrorTypeContract error,
     string endpointIp,
     bool networkBlocked,
     VpnProtocolContract protocol)
 {
     Status         = status;
     Error          = error;
     EndpointIp     = endpointIp;
     NetworkBlocked = networkBlocked;
     Protocol       = protocol;
 }
Exemplo n.º 2
0
 public VpnStateContract(
     VpnStatusContract status,
     VpnErrorTypeContract error,
     string endpointIp,
     bool networkBlocked,
     OpenVpnAdapter?openVpnAdapterType,
     VpnProtocolContract vpnProtocol,
     string label)
 {
     Status             = status;
     Error              = error;
     EndpointIp         = endpointIp;
     NetworkBlocked     = networkBlocked;
     OpenVpnAdapterType = openVpnAdapterType;
     VpnProtocol        = vpnProtocol;
     Label              = label;
 }
Exemplo n.º 3
0
 private static VpnStatus Map(VpnStatusContract status)
 {
     return((VpnStatus)status);
 }