检测客户端软件版本

detect client side software version

本文关键字:版本 软件 客户端 检测      更新时间:2023-09-26

我有web应用程序,通过我需要它在客户端读取应用程序版本。

这可能吗?

我想确定客户端安装的软件版本。

例如:

已安装的软件版本,例如,如果用户安装了一个名为test.exe的程序,我想检测它并获得它的版本。这不是浏览器插件

您需要使用activeX来使用JS创建任何暴露类型的对象。如果失败,软件没有安装,否则可以检索存储在activeX对象中的版本。大多数信使都是这样做的。

<OBJECT id="MSXML4"
classid="clsid:88d969c0-f192-11d4-a65f-0040963251e5"
codebase="http://www..../msxml4.cab#version=4,10,9404,0"
type="application/x-oleobject"
STYLE="display: none"
standby="ww">
Alternative Text
</OBJECT>
<script>
//if msxml4 is not installed
if( !document.MSXML4 ){
alert("MSXML4 is not installed");
</script>
}