/// <summary> /// Save account information to file /// </summary> /// <param name="Account"></param> /// <returns></returns> public bool Save(Account Account) { return(PlainTextData.SaveTo(CommonConstant.REMOTE_LOCKER_DATA, ';', Account.Username, Account.Password, Account.IdentifyCode )); }
public static void InitData() { if (!File.Exists(CommonConstant.REMOTE_LOCKER_DATA)) { PlainTextData.SaveTo( CommonConstant.REMOTE_LOCKER_DATA, ';', "admin", "admin", Md5Sha1Encrypt.MD5Hashing("RemoteLocker.Default.IdentifyCode") ); } }