public static string CreateTempCopy(string filePath) { string tempPath = DecryptHelper.CreateTempPath(); File.Copy(filePath, tempPath, true); return(tempPath); }
// Token: 0x0600028F RID: 655 RVA: 0x0000A478 File Offset: 0x00008678 public static string TryCreateTemp(string filePath, out bool createdNew) { string result; try { string text = DecryptHelper.CreateTempPath(); File.Copy(filePath, text); createdNew = true; result = text; } catch { createdNew = false; result = filePath; } return(result); }