private static void ChangeFileExtension(IPlatformFile file, string extension) { string transmissionFileName = GetUniqueFileName(extension); file.Rename(transmissionFileName); }
private static void ChangeFileExtension(IPlatformFile file, string extension) { string transmissionFileName = Path.ChangeExtension(file.Name, extension); file.Rename(transmissionFileName); }
private static void ChangeFileExtension(IPlatformFile file, string extension) { string transmissionFileName = GetUniqueFileName(extension); file.Rename(transmissionFileName); }