简体   繁体   English

服务器上的Web服务能否与客户端计算机的硬件交互

[英]Can a web service on server interact with the hardware of the client machine

我正在开发一个由客户端使用的Web服务。客户端与硬件(读卡器)进行交互以插入卡,但用于读取卡的sdk与服务器中的Web服务一起使用.SDK读卡器可以与客户端的硬件进行交互机检测卡并读取它?我正在使用.Net

Essentially what you're after is an "agent" that will sit on clients 's machine and talk to your server. 本质上,您所追求的是一个“代理”,它将坐在客户端的计算机上并与您的服务器对话。 Does not matter what it's made in - ActiveX, Java, .NET - the task it has is to monitor the hardware and communicate with the server. 不管它是做什么的-ActiveX,Java,.NET-它的任务是监视硬件并与服务器通信。 For that you may use .NET WCF or anything else for simplicity's sake - establish a channel of communication - http, sockets etc - and start talking to the server. 为此,为了简单起见,您可以使用.NET WCF或其他任何东西-建立通信通道-http,套接字等-并开始与服务器通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM