public static bool MoveFile(string tempFile, string destinationPath) { if (File.Exists(tempFile)) { File.Move(tempFile, destinationPath); if (File.Exists(destinationPath)) { return true; } else return false; } else return false; }