Check if adobe reader is installed on client machine

前端 未结 2 1673
生来不讨喜
生来不讨喜 2021-02-10 20:59

Currently I am working on a web page which will tell user about certain configurations on client machine. Out of this there is also requirement of detecting if Adobe Reader is i

2条回答
  •  太阳男子
    2021-02-10 21:51

    I used this script and called it on ready function : Note: i used the alerts here just to know how to use it.

     
    

    Also add this code behind:

      public void detectBrowser()
         { //Set the Browser session variable
           System.Web.HttpBrowserCapabilities browser = Request.Browser;
           Session["Browser"] = browser.Browser;
        }
    

    Hope it helps.

提交回复
热议问题