Hello Devz, It’s unbelievable but yes, the System.IO provided by .NET doesn’t have a simple method to copy a folder, its content and the sub directories to another destination. There are a few different techniques to copy a directory with C#, using the command XCopy, or using a recursive method. The best one I saw […]
C# – Check Write Access To Folder
Hi, An easy way to know if the user have write access to a folder can be done this way: public static bool HasWriteAccessToFolder(string folderPath) { try { // Attempt to get a list of security permissions from the folder. // This will raise an exception if the path is read only or do not […]