Restore point via C# trouble

392 views Asked by At

My task is to find all old restore points(not only system restore points,custom app restore points also included) and delete them. Also I must know their total size, and their description. I have two solutions: 1) Find and delete at "C:\System Volume Information" redundant file.In this case I don't have any description of this restore point for showing it to the user. 2) Use System.Management.ManagementClass for getting info about restore points.

var sysRestore = new ManagementClass("\\\\.\\root\\default", "systemrestore", new ObjectGetOptions());

But in this case I don't have total restore points size.Any ideas?

0

There are 0 answers