/// <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(); } }
/// <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); } }