卷影复制(VSS)的C#示例? [英] Volume Shadow Copy (VSS) sample in C#?

查看:236
本文介绍了卷影复制(VSS)的C#示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到了问题的<一个href="http://stackoverflow.com/questions/6673826/how-to-use-volume-shadow-copy-using-c-sharp-in-vs2008">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

这篇关于卷影复制(VSS)的C#示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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