How do i get printer model via snmp in c#?
Basicaly what i want to do is retrieve hp's Printer Model from network printer via SNM开发者_开发问答P in c#. Searching SO didn't yield anything usefull.
Where do i start?
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).
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
精彩评论