How do i get printer model via snmp in c#?

徘徊边缘 提交于 2020-02-04 05:30:31

问题


Basicaly what i want to do is retrieve hp's Printer Model from network printer via SNMP in c#. Searching SO didn't yield anything usefull.

Where do i start?


回答1:


You'll need to either write an SNMP manager or use an existing library (there are plenty out there; this is the one I use, and here's another.) From there you'll poll the apropriate OID to get your printer model (you'll want to see the printer's MIB for that value).




回答2:


Download one snmp library and make OID as 1.3.6.1.4.1.11.2.3.9.1.1.7.0 . You will get the printer name and Model



来源:https://stackoverflow.com/questions/2044671/how-do-i-get-printer-model-via-snmp-in-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!