| | |
| | | {
|
| | | return new AccountOption();
|
| | | }
|
| | | var varByte = Shared.IO.FileUtils.ReadFile(fileName);
|
| | | string strValue = System.Text.Encoding.UTF8.GetString(varByte);
|
| | | var info = Newtonsoft.Json.JsonConvert.DeserializeObject<AccountOption>(strValue);
|
| | | //解密密码
|
| | | string hdlKey = "hD1(La3o";
|
| | | info.PswAuthentication = UserCenterLogic.DecryptPassword(hdlKey, info.PswAuthentication);
|
| | | info.GestureAuthentication = UserCenterLogic.DecryptPassword(hdlKey, info.GestureAuthentication);
|
| | | try
|
| | | {
|
| | | var varByte = Shared.IO.FileUtils.ReadFile(fileName);
|
| | | string strValue = System.Text.Encoding.UTF8.GetString(varByte);
|
| | | var info = Newtonsoft.Json.JsonConvert.DeserializeObject<AccountOption>(strValue);
|
| | | //解密密码
|
| | | string hdlKey = "hD1(La3o";
|
| | | info.PswAuthentication = UserCenterLogic.DecryptPassword(hdlKey, info.PswAuthentication);
|
| | | info.GestureAuthentication = UserCenterLogic.DecryptPassword(hdlKey, info.GestureAuthentication);
|
| | |
|
| | | return info;
|
| | | return info;
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | HdlLogLogic.Current.WriteLog(ex);
|
| | | return new AccountOption();
|
| | | }
|
| | | }
|
| | |
|
| | | /// <summary>
|