Exemplo n.º 1
0
        public void LoadServiceList(string filename, ref ServiceList lService)
        {
            BinaryFormatter bf = new BinaryFormatter();
            FileStream      fs = new FileStream
                                     (filename, FileMode.Open, FileAccess.Read);

            lService = (ServiceList)bf.Deserialize(fs);
            fs.Close();
        }
Exemplo n.º 2
0
 public DB()
 {
     LService = new ServiceList();
     LTunnel  = new TunnelList();
 }