简体   繁体   English

如何使用C#使用SNMP获取设备类型?

[英]How to get device type using SNMP using C#?

my program can find the sysObjectID of my device the oid is given 1.3.6.1.4.1.311.1.1.3.1.1. 我的程序可以找到设备的sysObjectID,并给出1.3.6.1.4.1.311.1.1.3.1.1的oid。

Question: How to know the device type if i have the objectID of the device using C# ? 问题:如果我使用C#获得设备的objectID,如何知道设备类型?

Thanks! 谢谢!

You have to set up your own device OID database to store OID to device mappings or utilize a third party web service. 您必须建立自己的设备OID数据库以存储OID到设备的映射或利用第三方Web服务。

http://www.oidview.com/mibs/311/MSFT-MIB.html http://www.oidview.com/mibs/311/MSFT-MIB.html

You can see from above link that 1.3.6.1.4.1.311.1.1.3.1.1 is a Windows workstation machine. 您可以从上面的链接中看到1.3.6.1.4.1.311.1.1.3.1.1是Windows工作站计算机。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM