private async Task Split() { string destinationFilePath = Path.Combine( targetDirectory, $"{DateTime.Now:dd.MM.yyyy HH.mm}{fileControllerWatched.GetExtension()}" ); var task = fileControllerWatched.TransferTo(destinationFilePath); await task; }
private async Task Split() { string destinationFilePath = Path.Combine( targetDirectory, $"{DateTime.Now:dd.MM.yyyy HH.mm}{fileControllerWatched.GetExtension()}" ); var task = fileControllerWatched.TransferTo(destinationFilePath); await task; }