public void load() // Load users' data from a file { try { this.Users = (Hashtable)SerialTools.Deserialize(path); } catch (IOException e) { Console.WriteLine(e.ToString()); } }
public TextGestAuthentification(string path) { try { this.path = path; this.Users = new Hashtable(); this.Users = (Hashtable)SerialTools.Deserialize(path); } catch (IOException e) { Console.WriteLine(e.ToString()); } }