title: How can I programatically set the default browser in Windows 10
body: <p>I want be able to change the default browser (and other associations) via a C# program similar to how browsers have a "Make Browser As Default" option. </p>
  
  <p>I've tried changing HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice but Windows just detects tampering, even if I restore both the Hash and ProgId to a previous value. Seems Hash is unique, time based</p>