public static void ghifileLG(string pad, string uName, string pass) { MaHoaString.key = "HuyenTrang"; StreamWriter stw = new StreamWriter(pad); stw.WriteLine("{0}", MaHoaString.Encrypt(uName)); stw.WriteLine("{0}", MaHoaString.Encrypt(pass)); stw.Close(); }
public static void ghifileDB(string pad, string Host, string Db, string uName, string pass) { MaHoaString.key = "z3r0.IT"; StreamWriter stw = new StreamWriter(pad); stw.WriteLine("{0}", MaHoaString.Encrypt(Host)); stw.WriteLine("{0}", MaHoaString.Encrypt(Db)); stw.WriteLine("{0}", MaHoaString.Encrypt(uName)); stw.WriteLine("{0}", MaHoaString.Encrypt(pass)); stw.Close(); }