我正在寻找编写文件恢复程序的代码 [英] I am looking for code to write a file recovery program

查看:119
本文介绍了我正在寻找编写文件恢复程序的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不小心删除了我的音乐文件,我需要恢复它们。我在64 b机器上运行Windows 10。我已经尝试了一些程序,我对它们不满意。我想写一个自己的恢复程序。任何人都有一些源代码或一些想法?



我尝试过:



我想在Visual Studio 2017中使用C#开始编写程序。

I accidentally deleted my music files and I need to recover them. I run Windows 10 on a 64 b machine. I have tried some of the programs out there and I am not happy with them. I would like to write a recovery program of my own. Anyone have some source code out there or some ideas?

What I have tried:

I would like to write the program in Visual Studio 2017 using C# to begin with.

推荐答案

你遇到的问题是你放的东西越多在机器上,包括源代码和编译代码是你有冒险覆盖你想要恢复的文件。



下一个问题,没有人会给你这个代码。这很复杂,很多工作要理解NTFS如何工作以及编写代码还有很多工作。



如果你找到开源代码,除非你知道正是你正在做的事情,机会真的很好,你不会改进任何事情,因为你可以做的事情有限制并恢复更多的时间。
The problem you have is that the more stuff you put on the machine, including source code and compiling that code is that you are risking overwriting the files you're trying to recover.

Next problem, nobody is going to give you this code. It's complex, a lot of work to understand how NTFS works and a lot more work to write the code.

IF you find open source code out there, unless you know precisely what you're doing, chances are really good you're not going to improve on anything as there are limitations on what you can do and recover the more time that passes.


引用:

我正在寻找编写文件恢复程序的代码

I am looking for code to write a file recovery program



最好的解决方案是浪费时间做备份。因为硬盘可以崩溃,因为恶意软件,因为你可以犯错误...


The best solution is to waste time doing backups. Because HDD can breakdown, because malware, because you can do mistakes ...

引用:

任何人都有一些来源代码那里或一些想法?

Anyone have some source code out there or some ideas?



如果你没有在谷歌或GitHub上找到你想要的东西,很可能它不可用,因为这种东西需要很多工作和知识,没有人会想免费把它带走。


If you didn't find what you want on Google or GitHub, chances are that it is not available, and since this kind of thing needs a lot of work and knowledge, nobody will want to hive it away for free.

Quote:

我想写我自己的恢复计划。

I would like to write a recovery program of my own.



快速回答:你的问题告诉我们你将失败这个项目。

你缺乏这样一个项目的必要知识。它涉及一个非常深入的文件系统技术技能,并没有神奇的系统调用可以做到这一点,你正在处理裸机,没有安全措施。



建议:使用现有工具。


Quick Answer: Your question tell us that you will fail this project.
You lack the necessary knowledge for such a project. It involve a very deep technical skill on file system, and there is no magical system call that will do the trick, you are dealing with bare metal, there is no safeguard.

Advice: use existing tools.


这篇关于我正在寻找编写文件恢复程序的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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