您好,我需要C ++或C#的安全删除程序源代码 [英] Hello I need a secure delete program source code in C++ or C#

查看:57
本文介绍了您好,我需要C ++或C#的安全删除程序源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我需要安全文件删除,C,C ++,C#中的碎纸机源代码..我需要帮助.以及如何在C ++和C#中使用链接汇编进行编写..请帮助我..

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..

推荐答案

可以用很多方法完成,这是一种解决方案算法,
1.以二进制模式打开文件.
2.用0xff覆盖每个字节.
3.关闭文件
4.删除文件
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


这篇关于您好,我需要C ++或C#的安全删除程序源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆