So I'm writing code to download some files from a sharepoint, store them locally in a tempFolder, then create a .zip file with these files and then I want to remove the tempFolder & it's files under it. Right now "File.Delete" does that, but all the files are put in my recyclingBin. If this code runs constantly on a server & instead of my now 5 test files, uses hundreds or thousands of files to zip every half hour maybe, it's going to go badly...
So is there a way in C# to hard delete (or shift delete) a folder & it's subfiles?