| | |
| | | return null;
|
| | | }
|
| | | //将输入写入本地的临时文件夹
|
| | | HdlFileLogic.Current.SaveTextToFile(System.IO.Path.Combine(newDir, fileName), System.Text.Encoding.UTF8.GetString(result));
|
| | | HdlFileLogic.Current.SaveByteToFile(System.IO.Path.Combine(newDir, fileName), result);
|
| | | //设置进度值
|
| | | ProgressFormBar.Current.SetValue(i + 1, listFileCount);
|
| | | }
|
| | |
| | | }
|
| | |
|
| | | //开启进度条
|
| | | int listFileCount = listAllFile.Count;
|
| | | int listFileCount = listPicFile.Count + listNormalFile.Count;
|
| | | if (showBar == true)
|
| | | {
|
| | | //开启进度条 正在上传备份文件
|
| | |
| | | //开启后台调试App功能(Debug用)
|
| | | UserCenterResourse.HideOption.StartDebugApp = 1;
|
| | | }
|
| | | checkKeys = UserCenterLogic.EncryptPassword(UserCenterResourse.FileEncryptKey, DirNameResourse.CheckDeviceTypeFile + UserCenterResourse.UserInfo.Account);
|
| | | if (listFile.Contains(checkKeys) == true)
|
| | | {
|
| | | //开启检测设备Type的(Debug用)
|
| | | UserCenterResourse.HideOption.CheckDeviceType = 1;
|
| | | }
|
| | |
|
| | | //恢复
|
| | | IMessageCommon.Current.IgnoreError = false;
|