lextudio / sharpsnmplib

Sharp SNMP Library- Open Source SNMP for .NET
https://sharpsnmp.com
MIT License
356 stars 152 forks source link

Messager.Get() can't returning Hex correctly #301

Closed lextudio-support closed 2 hours ago

lextudio-support commented 2 hours ago

Using a iReasoning MIB Browser the data returns correct. Name/OID: connUnitPortStatCountRxElements.16.0.0.17.10.2.14.69.0.0.0.0.0.0.0.0.1; Value (OctetString): 00-00-00-09-E7-FD-43-3C

However, Messager.Get() returns the following ☼I??H

I assuming that there is a problem converting the Hex value that SNMP is returning. Most Fibre Channel devices store the counter in Hex.

Original Reported Date: 2011-02-02T14:35:54.867-08:00 Planned For Release: Original CodePlex ID: 7215

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

This is by design. Please call OctetString.ToHexString to convert the data to HEX string.

Original Posted Date: 2011-02-03T04:15:39.657-08:00

lextudio-support commented 2 hours ago

Original Closed Date: 2011-02-03T04:16:01.55-08:00