Posts

How to use FileTransferManager C# Library

  Tutorial: How to use martinchrzan's FileTransferManager C# Library: Today i want to talk a little bit about the FileTransferManager Library from martinchranz . As I could not find any docs on Github I decided to write a post covering the usage of the Library in one example. Paragra phs: Requirements Tutorial cancelToken Requirements: Visual Studio 2022 Community/Enterprise/Professional Browser Some Knowledge of C# .Net development enabled in Visual Studio The  FileTransferManager Library from martinchranz  installed via NuGet Tutorial: First import the library to your project like this: using CopyManager = IOExtensions.FileTransferManager; If you want you can add a cancelToken to it, then please import System.Threading too: using System.Threading; Then you are able to start! In the following example we are going to copy a folder with the "CopyWithProgressAsync" function: It uses the following options: CopyManager.CopyWithProgressAsync(sourceDir, destinationDir, Progress

Mein Podcast