Volume Shadow Copy (VSS) sample in C#?

匿名 (未验证) 提交于 2019-12-03 07:47:04

问题:

I've seen the question here, but I'm having difficulty understanding how to implement a system to read existing shadow copies from my system.

Can someone provide a short sample of code that lets me browse existing shadow copies using either the MS API or Alpha's?

FYI ― this is older code and not easily adaptable (or at least not from my perspective)

回答1:

Use AlphaVSS. It is a wrapper around the Windows API calls. In particular, the "QuerySnapshots" function will be applicable to you.

In order to view the documentation you need to download AlphaVSS -- don't worry, it's free.

If you are looking for an example, download the source and look in Alpha-1.2\Source\Samples



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!