How to set default browser in windows 8 using C#?

前端 未结 3 792
礼貌的吻别
礼貌的吻别 2021-01-02 19:27

We all have been easily able to do this prior to Windows 8 (in XP/VISTA/WIN7) with few changes in Registry and it was done.

With Windows 8 it\'s not that easy (I\'m

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-02 19:58

    I believe the reason is so that the user, not your software, gets to control this setting.

    You ought to be able to trigger the "Your computer has new applications for Web Browsing" popup, however, so that the user can easily choose your program if they want.

提交回复
热议问题