如何获得Citrix/MSTS/etc。不使用 ActiveX 的 Web 应用程序中的 ClientName?

How to obtain Citrix/MSTS/etc. ClientName from web application without using ActiveX?

我们正在开发企业 Web 应用程序,我们需要知道调用远程会话到 Citrix 服务器的客户端计算机的 ip/hostname。

我们发现的一种情况是使用 IE11/ActiveX,因此我们可以使用该对象读取注册表项并获取客户端名称值。

我的网络应用程序如何在不依赖 IE11/ActiveX 的情况下知道浏览器是从哪个客户端名称打开的?是否可以从 balancer/proxy 查询 Web 服务并获取打开该终端会话的远程客户端?或者使用 Chrome/Firefox/Safari/etc 中的插件。获取该信息?

答案在这里,这就是我的想法:https://www.quora.com/How-do-I-read-the-Windows-Registry-using-Chrome-extensions

The only way to read Windows Registry is by doing an NPAPI plugin. But Chrome recently stopped allowing Native NPAPI plugin. Now they allow PEPPER NACL plugins, but you cannot tap into the Windows Registry.

The only hackish way to do this, is by creating an external service on your machine and communicating back and fourth from Chrome to it via polling, websockets, etc