4

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)

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Larry G. Wapnitsky
  • 1,216
  • 2
  • 16
  • 35
  • I've seen that and it doesn't really help me out. The DLL he uses is no longer available. I've installed the SDK, but there's no assistance there, either. Additionally, that's VB, not C#. – Larry G. Wapnitsky Jun 21 '12 at 18:33

1 Answers1

8

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

Mathias R. Jessen
  • 157,619
  • 12
  • 148
  • 206
Nick Garvey
  • 2,980
  • 24
  • 31