コード例 #1
0
ファイル: Manager.cs プロジェクト: rlr/guardian-vpn-windows
 /// <summary>
 /// Initialize the Broker if not already initialized and then initialize the tunnel class.
 /// </summary>
 public static void InitializeTunnel()
 {
     if (Tunnel == null)
     {
         Tunnel = new WireGuard.Tunnel();
     }
 }
コード例 #2
0
 /// <summary>
 /// Initialize the Broker if not already initialized and then initialize the tunnel class.
 /// </summary>
 public static void InitializeTunnel()
 {
     InitializeBroker();
     if (Tunnel == null)
     {
         Tunnel = new WireGuard.Tunnel(Broker);
     }
 }