I don't think you can "rollback" or retrieve deleted file... You can however read the contents of file in byte array and keep in memory in case you want to recreate the file ...
If you have to be able to "undelete" maybe you could move items to the trash can rather than do File.Delete(). That way you can move them back out of the trash.
Comment