卷影复制(VSS)的C#示例?示例、VSS

2023-09-04 23:12:39 作者:别来无恙你还狗样@

我已经看到了问题的here,但我有很难理解如何实现系统可以从我的系统中读取现有的卷影副本。

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.

有人可以提供的code,让我用浏览无论是MS API或Alpha的?

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

仅供参考 - 这是旧的code ,不易适应(或至少不是从我的角度)

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

谢谢, 拉里

推荐答案

使用 AlphaVSS 。它是围绕着Windows API调用的包装。特别是,QuerySnapshots功能将适用于你

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

为了,查看您所需要下载AlphaVSS的文件 - 不要担心,这是免费的

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

如果你正在寻找一个例子,下载源代码,并期待在α-1.2 \来源\样品

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

 
精彩推荐
图片推荐