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