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(); }
public DB() { LService = new ServiceList(); LTunnel = new TunnelList(); }