public Natter(DebugWriter debug, IDictionary <string, IService> services) { this.debug = debug; this.services = services; tunTapDevice = new TunTapDevice(Settings.Default.TunTapDevice); tap = tunTapDevice.Stream; }
public VpnWorker(NetConnection Connection, TunTapDevice TunTap, List <Authenticator> Authenticators) { _Authenticators = Authenticators; _Connection = Connection; _TunTap = TunTap; }