How to determine if a C # flash drive is installed for Firefox?

Is there a way to check if a flash drive is installed in Firefox from C # code on the server? For example, when the client browser is IE, you can check Request.Headers ["accept"]. Contains ("application / x-shockwave-flash")
but the Firefox request does not contain the same header.

+3
source share
1 answer

Given that you flagged this as “server side” and talking about the client machine, you might be disappointed.

The only way to verify this is with the code running on the host you are testing (that is, on the client) - of course, you could do this and send the response to the server (for example, for storage in a session)

Edit: It is also worth remembering that any headers you receive (or rely on receiving) can be removed by intermediate proxies or simply false (may be a bot)

+5
source

Source: https://habr.com/ru/post/1704886/


All Articles