Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello guys I need Secure file delete, shredder source code in C, C++, C# .. I need a help. And how to write using link assembly with C++, C#.. Please help me..
Posted
Comments
OriginalGriff 24-Nov-12 8:32am    
What do you want to securely delete?
Nelek 24-Nov-12 9:08am    

1 solution

It can be done in many ways, here is one solution algorithm,
1. open file in binary mode.
2. overwrite every byte with 0xff.
3. close the file
4. delete the file
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900