Detect from browser if specific application is installed

前端 未结 5 1869
一生所求
一生所求 2020-12-02 17:42

We have an advanced webpage (ASP.NET, C#), and a application which needs to be installed on the client computer in order to utilize the webpage to its fullest. The applicati

5条回答
  •  误落风尘
    2020-12-02 18:19

    When installing your client-side app you could modify the browser configuration to include another request header in HTTP requests and then have the server code look for that header, for example as a supported mime type using the following registry key (for Internet explorer)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
                                                          Internet Settings\Accepted Documents
    

    I am not sure if Opera and FF use this same key, but they likely have similar configuration options, but this should at least get you on the right track.

提交回复
热议问题