Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert OctetString to Readable Decimal Value #376

Open
lextudio-support opened this issue Oct 26, 2024 · 1 comment
Open

Convert OctetString to Readable Decimal Value #376

lextudio-support opened this issue Oct 26, 2024 · 1 comment
Labels

Comments

@lextudio-support
Copy link

Hi,

I am struggling to convert an OctetString Value to readable decimal value. For
example, I receive
(Raw Value [OctetString]: HEX: 00 80 00 00 ) over SNMP using SharpSnmpLib and
don't know how to convert it to decimal value 9.

When I use an standard MIB Browser Tool I do see the translation of 00 80 00
00 to 9, but just don't get it how its done. I appreciate if someone can help
me to solve this problem.

Best regards

Yeasin Habib

Original Reported Date: 2013-11-06T00:55:56.44-08:00
Original CodePlex Discussion Thread ID: 466226

@lextudio-support
Copy link
Author

Copied from CodePlex without authors:

Hi,

The value itself is impossible to convert from the raw bytes to the value you
want.

The MIB Browser tool you use, can only do the conversion when it loads the
corresponding MIB documents. #SNMP Pro is going to support that, but the open
source edition of #SNMP won't.

Regards,

Lex

Original Posted Date: 2013-11-06T19:29:16.163-08:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant