ways to check state of system restore in C#
<p>I am working to check the system restore status check(enabled/disabled).
After R&amp;D I found out that it can be done in following ways:</p>

<ol>
<li>status check on srclient.dll</li>
<li>editing Registery Keys</li>
<li>WMI-available till XP edition..</li>
</ol>

<p>1) I need help on how to check registry key value from SystemRestore Registry in C#.</p>

<p>2) My program code works fine if i need to set or remove restore point with the available functionality in C # libraries but i want to check the status before user sets or removes the restore point.
would appreciate if anyone helps out to find out a solution to this.</p>
