I have a SiteMaster.cs file and I want to check if the browser of the client uses IE to access my site.
Is there an easy way to do this?
thanks
Michael
You can check Request.UserAgent . This site contains a list of user agent strings for different versions of IE
Request.UserAgent
Request.Browser provides browser data for the current http request.
Instead of detecting the browser, you should use the object detection function, you can use the mordernizer to detect functions
Source: https://habr.com/ru/post/889008/More articles:Why do labels and frames have the Tab Index property in VB6? - vb6JASIG CAS: a single shutdown does not work - springFind out if Android WebView shows a cached page - androidhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/889006/ruby-are-comments-tokens&usg=ALkJrhgDag7UjQ8Gtv86vCS4JKJpLQH54QDoes the order of HTML attributes have any performance impact? - performanceAndroid app not showing up in app? - androidXcode Optimization 4 - xcode4How to read a parameter from an HTTP request string - query-stringGetting SSL error using Koala with Devise & OmniAuth in a Rails 3 application - facebookA faster way to communicate using TcpClient? - c #All Articles