Home Roadmap of Stage 2.4
Post
Cancel

Roadmap of Stage 2.4

It was in the latest Change Set 15756 that I added a static property DefaultEncoding to OctetString class. Soon, as a user commented in this thread, that was not enough if both ASCII and Unicode strings are required in the management system (especially for “community name”). Therefore, now I am working on a new approach.

http://www.codeplex.com/sharpsnmplib/Thread/View.aspx?ThreadId=35765

The idea is simple. Why not provide an instance property to OctetString for encoding? In this way, you can configure every objects of this class. I believe this is the most flexible way I can think of now. I will check in a new Change Set tonight so you can play with it and provide me feedbacks.

What’s more, in order to make it much easier to send both ASCII and Unicode community strings to different SNMP agents in one application easily, I am going to change static methods in Manager component once again. This time, the community names will be passed in as OctetString (instead of System.String), so that you have a chance to specify encoding explicitly.

Stay tuned.

This post is licensed under CC BY 4.0 by the author.
Advertisement

News: From Cisco to Microsoft

“对于开源的种种误读”的更新

Comments powered by Disqus.