예제 #1
0
        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;
        }