-
Notifications
You must be signed in to change notification settings - Fork 150
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
Accessing raw data in ISnmpData #88
Comments
For instance for value of
Apparently |
It is not a standard API yet, but some Your workaround might not work in all cases, as the length bytes can be more than one. |
Thanks for extremely fast response!
Does that you mean keeping the current API as is to avoid any unexpected breaking change? If someone add Does
Thats' correct, but still for each case one has to cast to ISnmpData to corresponding derived type based on Another solution could be adding
I was afraid of that. |
There is no plan to fix the API for current 9.x/10.x releases. I am investigating Microsoft's latest API additions ( |
The extension
ToBytes
provided inSnmpDataExtension
does this, but it apparently includes the data-type bytes too. For instance, for anIPAddress
datatype it returns 6 bytes instead of 4.It would be nice if
ISnmpData
interface expose a function like GetRaw to let the user access the underyling raw bytes without type.The text was updated successfully, but these errors were encountered: