title: Delete all values within a registry key using C#
body: <p>I'm having trouble finding a method to delete all values within a registry key without actually deleting the key itself. I would rather not have to delete the key because I'd rather not deal with re-adding the appropriate permissions back to the key.</p>
  
  <p>I'm trying to have a small method run to simply clear out the values from:</p>
  
  <p><strong>HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Resiliency\DisabledItems</strong></p>
  
  <p>We have an add-in that Outlook periodically sticks in here, and our techs have to dig into this key and remove the values, restart Outlook and all is well. </p>
  
  <p>I guess we could just identify the exact name of the value, but that wouldn't be very fun :) and because the way that the values are named in this key, it is not apparent which one points to the correct add-in.</p>