Why does the DeletePoint method delete actual files prior to deleteing the mount point? Is this simply to demonstrate how to delete files OR is this a binary requirement somewhere? What would happen if the files were NOT deleted?

In the DeletePoint example method you recurse through the mount points and directories WITHIN each mount point. For each FileInfo object in the directory you then call Delete(). This puzzles me why you would do so much more work if the files are in RAM. They will be gone the moment you unmount the drive. No?

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.