如何找到连接的打印客户端列表到我的打印服务器。 [英] How can I find out the list of connected print clients to my print server.
本文介绍了如何找到连接的打印客户端列表到我的打印服务器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
坐在服务器中,我想以编程方式找出所有客户端连接到打印服务器。该列表可以是一个超集,也包含其他客户端名称/ ips。
1)净会话(NetSessionEnum或NetEnumConnection)是否可靠?
2)WNetOpenEnum功能可靠吗?
3)他们是否有其他方式?
请帮忙。
Sitting in the server, I want to programmatically find out which all clients are connected to the print server. The list can be a superset , containing other client names/ips as well.
1) Is net sessions(NetSessionEnum or NetEnumConnection) reliable ?
2) Is WNetOpenEnum function reliable?
3) Is their any other way?
Kindly help.
推荐答案
为什么不使用 https://msdn.microsoft.com/en-us/library/windows/desktop/dd162692%28v=vs.85%29.aspx [ ^ ]?
这篇关于如何找到连接的打印客户端列表到我的打印服务器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文