检测通过WinForms c#应用程序安装了哪个版本的Flash [英] Detect which version of flash is installed through a WinForms c# app
本文介绍了检测通过WinForms c#应用程序安装了哪个版本的Flash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要检测客户端计算机上正在运行哪个版本的Flash以进行报告.我有一个C#程序,可以执行很多要将其添加到其中的报告.理想情况下,该程序只需检测版本即可,无需任何人工干预.
有人可以告诉我该怎么做吗?
TIA-Jeff.
I need to detect which version of flash is running on client machines for reporting purposes. I have a c# program that does a whole lot of reporting that I want to add this to. Ideally the program would just detect the version without any human interaction.
Can anybody tell me how to do this?
TIA - Jeff.
推荐答案
如果客户端使用的是IE,则可以检查使用.
if client is using IE then you can check using.
Request.Headers["accept"].Contains ("application/x-shockwave-flash")
如果有帮助,请 投票 和 接受答案 .
Please vote and Accept Answer if it Helped.
您可以使用此处确定的技术 [ ^ ]至通过注册表找到它.
You can use the technique described here[^] to find it via the registry.
这篇关于检测通过WinForms c#应用程序安装了哪个版本的Flash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文