访问远程设备? [英] Access remote device?

查看:74
本文介绍了访问远程设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在同一网络上的其他计算机上访问,声明,打开等POS打印机? 在VB.NET中,我只是在某处输入远程路径吗? 我阅读了Yort关于共享设备的文章,我只是想知道这是否只有
的路线... 如果您可以通过WMI访问有关设备的所有信息,您是否应该能够声明并在VB.NET中使用它? 谢谢

Is it possible to access, claim, open, etc. a POS Printer on a different computer on the same network?  In VB.NET, would I just input the remote path somewhere?  I read Yort's article about sharing devices and I'm just wondering if that's the only route to go...  If you can access all the information about the device via WMI, shouldn't you be able to claim it and use it in VB.NET?  Thanks

推荐答案

据我所知,不可能使用WMI远程声明/使用Pos .Net设备(虽然我不完全当然)。即使你可以,它也可能在现实世界的应用程序中表现不佳,因为Pos .Net界面倾向于
非常"健谈"。假设它确实有效(也许还有一个原因,它没有实现),知道它是如何容错的也是有趣的...即,如果你远程声明一个设备,然后丢弃你的网络连接或其他东西$
是设备然后声称并且在重新启动某项服务之前无法使用其他任何设备?
Hi, As far as I know, it isn't possible to claim/use a Pos .Net device remotely using WMI (although I'm not totally sure). Even if you could, it would likely not perform well enough for real world applications though, since the Pos .Net interfaces tend to be very "chatty". Assuming it did work (and perhaps one reason it wasn't implemented), it would also be interesting to know how fault tolerant it is... i.e if you claim a device remotely and then drop your network connection or something along those lines is the device then left claimed and unusable by anything else until some service is restarted ?


这篇关于访问远程设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆