Beispiel #1
0
        public void LoadTunnelList(string filename, ref TunnelList lTunnel)
        {
            BinaryFormatter bf = new BinaryFormatter();
            FileStream      fs = new FileStream
                                     (filename, FileMode.Open, FileAccess.Read);

            lTunnel = (TunnelList)bf.Deserialize(fs);
            fs.Close();
        }
Beispiel #2
0
 public DB()
 {
     LService = new ServiceList();
     LTunnel  = new TunnelList();
 }