Alexander Taran
Alexander Taran

Reputation: 6725

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 SNMP in c#. Searching SO didn't yield anything usefull.

Where do i start?

Upvotes: 2

Views: 6398

Answers (2)

user27414
user27414

Reputation:

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).

Upvotes: 3

Jio
Jio

Reputation: 1146

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

Upvotes: 2

Related Questions