/// <summary> /// 儲存文件 /// </summary> public void CreateEncrypt() { string s = string.Empty; //第0位置SetingPath //第1位置LogPath s += this.SetingPath; s += ";" + this.LogPath; DesFile des = new DesFile(); des.EncryptFile(s, FileName); }
/// <summary> /// 儲存文件 /// </summary> public void CreateEncrypt() { //server=10.204.121.8;database=ReportServer;User ID=sa;Pwd=ecudn08ccg3m/45k3 string s = string.Empty; //第0位置Server //第1位置DataBase //第2位置Sa //第3位置Password s += this.Server; s += ";" + this.DataBase; s += ";" + this.Sa; s += ";" + this.Password; DesFile des = new DesFile(); des.EncryptFile(s, FileName); }
/// <summary> /// 儲存文件 /// </summary> public void CreateEncrypt() { string s = string.Empty; //第0位置LicenseServer //第1位置DataBaseType //第2位置UserName //第3位置Password //第4位置UseTrusted s += this.LicenseServer; s += ";" + this.DataBaseType.ToString(); s += ";" + this.UserName; s += ";" + this.Password; s += ";" + this.UseTrusted.ToString(); DesFile des = new DesFile(); des.EncryptFile(s, FileName); }
/// <summary> /// 儲存文件 /// </summary> public void CreateEncrypt() { string s = string.Empty; //第0位置UserID //第1位置Passward //第2位置AutoLogin //第3位置OCLSType s += this.LoginID; s += ";" + this.Passward; s += ";" + this.AutoLogin.ToString(); s += ";" + this.StationNo; s += ";" + this.StationName; s += ";" + this.LoginName; DesFile des = new DesFile(); des.EncryptFile(s, FileName); }