I am creating a program to run file I/O stress on a drive and when it is done, I want to delete the files, but don\'t want to put them in the recycle bin. Here is the code I
You are looking for FileSystem.DeleteDirectory Method (String, UIOption, RecycleOption)
recycle Specifies whether or not the deleted file should be sent to the Recycle Bin. Default is RecycleOption.DeletePermanently.
recycle
Specifies whether or not the deleted file should be sent to the Recycle Bin. Default is RecycleOption.DeletePermanently.