Click here to Skip to main content
12,824,299 members (40,896 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#3.0 C#
I want to restrict docx file & xlsx file recovery.using C# application we are deleting docx & xlsx file i want to restrict recovery of those file.using Pandora software those files are recovered how to restrict that. Solution must be appreciated.
Posted 5-Jan-13 2:11am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi Ravijain,

A useful safety method can be to obfuscate the content and save before you proceed so that even if it was recovered, there's not really anything to do with it.

If I'm not mistaken, File.Delete will permanently delete the file bypassing the recycle bin (note that is does not throw an exception when the file does not exist, only when there's a permission issue).

* But I guess you've checked to see Pandora securing the file even if it permanently deleted ...


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100