예제 #1
0
        public Natter(DebugWriter debug, IDictionary <string, IService> services)
        {
            this.debug    = debug;
            this.services = services;

            tunTapDevice = new TunTapDevice(Settings.Default.TunTapDevice);
            tap          = tunTapDevice.Stream;
        }
예제 #2
0
 public VpnWorker(NetConnection Connection, TunTapDevice TunTap, List <Authenticator> Authenticators)
 {
     _Authenticators = Authenticators;
     _Connection     = Connection;
     _TunTap         = TunTap;
 }