<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>sharpsnmplib Forum Rss Feed</title><link>http://www.codeplex.com/sharpsnmplib/Thread/List.aspx</link><description>sharpsnmplib Forum Rss Description</description><item><title>New Post: MIB Parsing</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=75845</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Ben,&lt;/p&gt;
&lt;p&gt;It should be possible if we enhance the existing compiler, but now I rather spare time on the new ANTLR based compiler. It is still far to go there.&lt;/p&gt;
&lt;p&gt;If you like, you can check out the latest source code and place with our AST project.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;/div&gt;</description><author>lextm</author><pubDate>Sun, 22 Nov 2009 09:19:16 GMT</pubDate><guid isPermaLink="false">New Post: MIB Parsing 20091122091916A</guid></item><item><title>New Post: MIB Parsing</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=75845</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;This project is fantastic! The code is professional and the included MIB browser showcases it magnificently. Well done!&lt;/p&gt;
&lt;p&gt;Given the full path to a MIB and an OID defined therein, I&amp;rsquo;m trying to extract the name and SNMP type (SYNTAX ) of the object. Is this possible? Though new to the project, I&amp;rsquo;ve tried for several hours. Any code snippets would be greatly appreciated!&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;/div&gt;</description><author>gazer</author><pubDate>Sun, 22 Nov 2009 06:40:17 GMT</pubDate><guid isPermaLink="false">New Post: MIB Parsing 20091122064017A</guid></item><item><title>New Post: why the field "index" doesn't be initialized in lexer.cs</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=73884</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please let me know if you have a specific error to report. Thanks.&lt;/p&gt;
&lt;p&gt;We will not try to improve the existing parser as we have a new implementation in the kitchen. Hope I can post our progress on it in the next few weeks.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lex&lt;/p&gt;&lt;/div&gt;</description><author>lextm</author><pubDate>Wed, 04 Nov 2009 05:26:37 GMT</pubDate><guid isPermaLink="false">New Post: why the field "index" doesn't be initialized in lexer.cs 20091104052637A</guid></item><item><title>New Post: why the field "index" doesn't be initialized in lexer.cs</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=73884</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I think &amp;quot;index&amp;quot; is used to point to the &amp;quot;Symbol&amp;quot; in &amp;quot;_symbols&amp;quot;. I don't see a constructor function in lexer.cs , and&amp;nbsp;field&amp;nbsp;&amp;quot;index&amp;quot; be initialized.&amp;nbsp;So when using &amp;quot;new lexer();&amp;quot; and &amp;quot;lexer.NextSymbol&amp;quot;,&amp;nbsp; is there a probability of causing error?&lt;/p&gt;&lt;/div&gt;</description><author>nalandra</author><pubDate>Tue, 03 Nov 2009 07:55:21 GMT</pubDate><guid isPermaLink="false">New Post: why the field "index" doesn't be initialized in lexer.cs 20091103075521A</guid></item><item><title>New Post: VACM and #SNMP</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=73062</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;VACM is a core component for SNMP v3 agents. It mainly enhances security and monitors object access.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As #SNMP at this moment still focuses on SNMP managers and messaging side, we don't implement anything related to VACM yet. TestAgent project is a nice place to try out some VACM rules, but we don't have a plan on that for 4.0 release.&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>lextm</author><pubDate>Tue, 27 Oct 2009 01:39:32 GMT</pubDate><guid isPermaLink="false">New Post: VACM and #SNMP 20091027013932A</guid></item><item><title>New Post: VACM and #SNMP</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=73062</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;First, I would like to mark out that this project is magnificent! Very professional and comprehensive.&lt;/p&gt;
&lt;p&gt;Now, I'm currently researching the View Access Control Model (VACM) in SNMP.&lt;br&gt;Reading its long and tiresome RFC (2575) I recognized that the VACM logic should actually be implemented almost completely inside the application code itself, and beside the&amp;nbsp;additional SNMPv3 messge parameters, the VACM is just outlines the characteristics of&amp;nbsp;a view-based security mechanism. I also noticed that some &amp;quot;MIB View&amp;quot; file should be created in order to fullfill the management of&amp;nbsp;a group-authorization idea. &lt;br&gt;&lt;br&gt;I have the theory in mind, it's just I fail to connect all these details to a working code... :(&lt;br&gt;So Is there any code that can show how to manipulate VACM using #SNMP project?&lt;/p&gt;
&lt;p&gt;Any hint will be blessed,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;/div&gt;</description><author>jbarkai</author><pubDate>Mon, 26 Oct 2009 08:43:30 GMT</pubDate><guid isPermaLink="false">New Post: VACM and #SNMP 20091026084330A</guid></item><item><title>New Post: Things that would make this library easier to use from PowerShell</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=72439</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for sharing your thoughts.&lt;/p&gt;
&lt;p&gt;My answer is that this library is not really designed for PowerShell, so we cannot expect such support in the first place.&lt;/p&gt;
&lt;p&gt;What about wrapping over the command line utilities we provided? Like snmpget, snmpset, and so on. If you need more command line tool, we can see if it is easy to bring them on our TODO list and raise their priority.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lex&lt;/p&gt;&lt;/div&gt;</description><author>lextm</author><pubDate>Tue, 20 Oct 2009 07:11:55 GMT</pubDate><guid isPermaLink="false">New Post: Things that would make this library easier to use from PowerShell 20091020071155A</guid></item><item><title>New Post: Things that would make this library easier to use from PowerShell</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=72439</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;This is just a laundry list of things that I'd like to see. I'm going through an exercise now to try and send a trap from PowerShell and I'm having a hard time because 1) I'm not a dev and 2) It's non-trivial to create generics from PowerShell. &amp;nbsp;I've invested a lot of time to get where I am so far, and I think I may end up in the right place before too much longer, but, if I had my way...&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Classes would have constructors with zero arguments. &amp;nbsp;Sometimes in PowerShell, it's a lot easier to create a .NET object and then fill out its properties after object creation. I've seen several .NET libs which allow this.&lt;/li&gt;
&lt;li&gt;Properties would be read/write. e.g. I want to do #1 above, and then something like: $myObj.Property = &amp;quot;foo&amp;quot;&lt;/li&gt;
&lt;li&gt;Types should be more liberal. For example, if every parameter or property that accepts a Lextm.Sharpsnmplib.OctetString also accepted System.String, my life would be SO much easier.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Same goes for OIDs. If I can type [lextm.sharpsnmplib.objectidentifier]&amp;quot;1.3.6&amp;quot; and have it work, then I don't understand (from my sysadmin POV), why you can't just take strings everywhere that a string can be coerced into place anyway.&lt;/li&gt;
&lt;li&gt;Same for IPEndpoint. I'd much rather there be overloads and properties that would take a [string] or [ipaddress] ip address and an [int] port.&lt;/li&gt;
&lt;li&gt;Generics are hard to work with in PowerShell, but [system.array] and [system.collections.hashtable] are not. For example, I'd like to be able to create a &amp;quot;simple array&amp;quot; of Lextm.Sharpsnmplib.Variable, instead of having to create an IList.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I'm sure there's other examples, but I think you see where I'm going. I know that you have all this strict type checking for a reason, but PowerShell enables a much looser style and that works well for a whole different audience--an audience I think you'd do well to encourage.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Eventually, I may publish a proper powershell module that would hide all of the complexity anyway, but until I get to that point...this stuff is a lot of work!&lt;/p&gt;&lt;/div&gt;</description><author>halr9000</author><pubDate>Mon, 19 Oct 2009 15:58:18 GMT</pubDate><guid isPermaLink="false">New Post: Things that would make this library easier to use from PowerShell 20091019035818P</guid></item><item><title>New Post: Cannot use the NUnit unit tests of the Project</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=72164</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;Thank you guys for your help. I have solved my issue installing TestDriven.Net in order to run NUnit in the VS IDE.&lt;/p&gt;
&lt;p&gt;Now I can run the unit tests.&lt;/p&gt;
&lt;p&gt;Thank you again!&lt;/p&gt;
&lt;p&gt;Mauricio&lt;/p&gt;&lt;/div&gt;</description><author>mdelcarpio</author><pubDate>Fri, 16 Oct 2009 14:17:16 GMT</pubDate><guid isPermaLink="false">New Post: Cannot use the NUnit unit tests of the Project 20091016021716P</guid></item><item><title>New Post: Cannot use the NUnit unit tests of the Project</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=72164</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Also note that some test cases require an SNMP agent to be available locally. It is bad dependency, but I could not find a way to replace them. :)&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;
&lt;p&gt;Lex&lt;/p&gt;&lt;/div&gt;</description><author>lextm</author><pubDate>Fri, 16 Oct 2009 10:02:22 GMT</pubDate><guid isPermaLink="false">New Post: Cannot use the NUnit unit tests of the Project 20091016100222A</guid></item><item><title>New Post: Cannot use the NUnit unit tests of the Project</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=72164</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;no problems here with unit testing with nUnit.&lt;/p&gt;
&lt;p&gt;Have you installed latest version of nUnit?&lt;/p&gt;
&lt;p&gt;Does your source code compiles correctly?&lt;/p&gt;
&lt;p&gt;Exception seems related to nUnit not able to load compiled assembly containing unit tests.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;/div&gt;</description><author>andreabertolotto</author><pubDate>Fri, 16 Oct 2009 09:44:20 GMT</pubDate><guid isPermaLink="false">New Post: Cannot use the NUnit unit tests of the Project 20091016094420A</guid></item><item><title>New Post: Cannot use the NUnit unit tests of the Project</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=72164</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I compiled the SharpSnmpLib project with VS2008 successfully. I was trying to open the NUnit project in order to run the unit tests of the project but I cannot open it. It shows me an exception message&lt;span style="font-family:Consolas, 'Courier New', Courier, monospace"&gt;&lt;span style="white-space:pre"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas, 'Courier New', Courier, monospace"&gt;&lt;span style="white-space:pre"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas, 'Courier New', Courier, monospace"&gt;
&lt;pre&gt;System.IO.FileNotFoundException: Could not load file or assembly 'SharpSnmp:ib.Tests' or one of its dependencies. The system cannot find the file specified. 

For further information, use the Exception Details menu item.&lt;/pre&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The exception details are:&lt;/p&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;System.IO.FileNotFoundException...&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;Server stack trace:&amp;nbsp;&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.Assembly.Load(String assemblyString)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.Builders.TestAssemblyBuilder.Load(String path)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.TestSuiteBuilder.BuildSingleAssembly(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.SimpleTestRunner.Load(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.ProxyTestRunner.Load(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.ProxyTestRunner.Load(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.RemoteTestRunner.Load(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp;amp; outArgs)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;Exception rethrown at [0]:&amp;nbsp;&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Core.TestRunner.Load(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Util.TestDomain.Load(TestPackage package)&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; at NUnit.Util.TestLoader.LoadTest(String testName)&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;System.IO.FileNotFoundException...

Server stack trace: 
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at NUnit.Core.Builders.TestAssemblyBuilder.Load(String path)
   at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites)
   at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites)
   at NUnit.Core.TestSuiteBuilder.BuildSingleAssembly(TestPackage package)
   at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
   at NUnit.Core.SimpleTestRunner.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp;amp; outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)
   at NUnit.Core.TestRunner.Load(TestPackage package)
   at NUnit.Util.TestDomain.Load(TestPackage package)
   at NUnit.Util.TestLoader.LoadTest(String testName)
&lt;/pre&gt;
&lt;p&gt;Has any body seen this before? Please help me on this. Thank you!&lt;/p&gt;&lt;/div&gt;</description><author>mdelcarpio</author><pubDate>Thu, 15 Oct 2009 23:51:23 GMT</pubDate><guid isPermaLink="false">New Post: Cannot use the NUnit unit tests of the Project 20091015115123P</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Jim,&lt;/p&gt;
&lt;p&gt;you can see DefaultObjectRegistry.Instance has five default loaded modules having a look at its implementation, in file:&lt;/p&gt;
&lt;p&gt;SharpSnmpLib\Mib\DefaultObjectRegistry.cs, LoadDefaultModules method.&lt;/p&gt;
&lt;p&gt;This modules are normally required in every MIB operation because they are imported almost everywhere.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyway, you can easily unload this modules using:&lt;/p&gt;
&lt;p&gt;DefaultObjectRegistry.Instance.Tree.Remove(&amp;quot;SNMPV2-SMI&amp;quot;);&lt;br&gt;DefaultObjectRegistry.Instance.Tree.Remove(&amp;quot;SNMPV2-CONF&amp;quot;);&lt;br&gt;DefaultObjectRegistry.Instance.Tree.Remove(&amp;quot;SNMPV2-TC&amp;quot;);&lt;br&gt; DefaultObjectRegistry.Instance.Tree.Remove(&amp;quot;SNMPV2-MIB&amp;quot;);&lt;br&gt; DefaultObjectRegistry.Instance.Tree.Remove(&amp;quot;SNMPV2-TM&amp;quot;);&lt;br&gt;DefaultObjectRegistry.Instance.Refresh();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;/div&gt;</description><author>andreabertolotto</author><pubDate>Mon, 12 Oct 2009 06:11:34 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091012061134A</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Andrea,&lt;/p&gt;
&lt;p&gt;I'm looking at the DefaultObjectRegistry.Instance.Trre and notice it already has modules loaded. Is there a way for me to start up &amp;quot;clean&amp;quot; so I do not have these already loaded?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>jm3</author><pubDate>Mon, 12 Oct 2009 02:08:19 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091012020819A</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Andrea,&lt;/p&gt;
&lt;p&gt;Thanks so much for the sample code. I will walk through it and see if it helps me get what I need. Hopefully it's just a matter of me not understanding how to properly use the library.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'll let you know how I make out,&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>jm3</author><pubDate>Mon, 12 Oct 2009 00:17:40 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091012121740A</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Jim and Lex,&lt;/p&gt;
&lt;p&gt;don't know exactly what are you trying to achieve, anyway, I'll share my experience here.&lt;/p&gt;
&lt;p&gt;I'm actually compiling my custom MIB at runtime, extracting relevant informations and executing Snmp queries using custom MIB data. Basically, my application (it's a device dumper), can load my MIB (with some dependencies), compile it at runtime and then loop inside Oids to query my devices. This is done because my actual MIB is subject to frequent changes.&lt;/p&gt;
&lt;p&gt;This is relevant code:&lt;/p&gt;
&lt;p&gt;string snmpv2TCFilename = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, &amp;quot;SNMPv2-TC.txt&amp;quot;);&lt;br&gt;string snmpv2SMIFilename = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, &amp;quot;SNMPv2-SMI.txt&amp;quot;);&lt;br&gt;string snmpv2CONFFilename = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, &amp;quot;SNMPv2-CONF.txt&amp;quot;);&lt;br&gt;&lt;br&gt;// this is my custom MIB, that has dependencies on previous ones&lt;br&gt;string snmpv2CustomMibFilename = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, &amp;quot;MY-CUSTOM-MIB.txt&amp;quot;);&lt;br&gt;&lt;br&gt;IList&amp;lt;IModule&amp;gt; snmpTCModule = Parser.Compile(snmpv2TCFilename);&lt;br&gt;DefaultObjectRegistry.Instance.Import(snmpTCModule);&lt;br&gt;&lt;br&gt;IList&amp;lt;IModule&amp;gt; snmpSMIModule = Parser.Compile(snmpv2SMIFilename);&lt;br&gt;DefaultObjectRegistry.Instance.Import(snmpSMIModule);&lt;br&gt;&lt;br&gt;IList&amp;lt;IModule&amp;gt; snmpCONFModule = Parser.Compile(snmpv2CONFFilename);&lt;br&gt;DefaultObjectRegistry.Instance.Import(snmpCONFModule);&lt;br&gt;&lt;br&gt;IList&amp;lt;IModule&amp;gt; customMibModule = Parser.Compile(snmpv2CustomMibFilename);&lt;br&gt;DefaultObjectRegistry.Instance.Import(customMibModule);&lt;br&gt;&lt;br&gt;DefaultObjectRegistry.Instance.Refresh();&lt;br&gt;&lt;br&gt;if (customMibModule.Count &amp;gt; 0) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (IEntity entity in customMibModule[0].Entities) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDefinition node = DefaultObjectRegistry.Instance.Tree.Find(customMibModule[0].Name,  entity.Name);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (node == null) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint[] id = node.GetNumericalForm();&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (entity.GetType().FullName.Equals(&amp;quot;Lextm.SharpSnmpLib.Mib.ObjectType&amp;quot;, StringComparison.OrdinalIgnoreCase)) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (entity.Name.EndsWith(&amp;quot;Table&amp;quot;)) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(ObjectIdentifier.Convert(id) + &amp;quot;,&amp;quot; + entity.Name);&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Get Snmp table data&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if ((!entity.Parent.EndsWith(&amp;quot;Entry&amp;quot;)) &amp;amp;&amp;amp; (!entity.Name.EndsWith(&amp;quot;Entry&amp;quot;))) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(ObjectIdentifier.Convert(id) + &amp;quot;.0&amp;quot; + &amp;quot;,&amp;quot; + entity.Name);&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Get Snmp scalar data&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>andreabertolotto</author><pubDate>Sun, 11 Oct 2009 09:37:34 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091011093734A</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Do you have a timeframe for 4.0? I will work with compilerCore and review your other code again and see what I can make do. You seem responsive, so I will just ask when I get to a spot I feel I need more control over and we'll see what you suggest.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>jm3</author><pubDate>Sun, 11 Oct 2009 00:23:31 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091011122331A</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Jim,&lt;/p&gt;
&lt;p&gt;The latest description on your need shows that you need to host some part of Compiler.exe inside your code. Luckily, you can check out CompileCore.cs in Compiler project, which makes use of Parser and Assembler classes to compile *.mib files. They are high level classes recommended instead of low level classes such as MibModule and that's why I set MibModule and so on internal.&lt;/p&gt;
&lt;p&gt;In 4.0 release, we are going to ship a new compiler architecture, so the internal classes and algorithm can change a lot (or saying totally). I can only guarantee that we will keep the high level classes untouched.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lex&lt;/p&gt;&lt;/div&gt;</description><author>lextm</author><pubDate>Sat, 10 Oct 2009 23:43:03 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091010114303P</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;So what I was hoping to do is compile the mibs from within my application. I am going to use a sql server to periodically collect some of the values identified in the mibs. I am going to have to persist some data about each mib file (like which oids I need to get values for). I was hoping to be able to compile and work directly with the MibModule and perhaps even the Lexer. I really don't want my end user having to compile from one app, then get into another in order to select values to retrieve, etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>jm3</author><pubDate>Sat, 10 Oct 2009 17:43:29 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091010054329P</guid></item><item><title>New Post: SNMP Library usage</title><link>http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=71560</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Jim,&lt;/p&gt;
&lt;p&gt;First, you need to use the Compiler.exe to compile the *.mib files into *.module files.&lt;/p&gt;
&lt;p&gt;Second, you need to follow the Browser.exe's manner. The simplest way is to make use of built in classes such as ReloadableObjectRegistry. Its constructor takes a directory that contains the *.module files, and using that it automatically loads the objects. In this way you don't even need to know anything about Lexer or MibModule.&lt;/p&gt;
&lt;p&gt;Third, you can soon move on to notice that ReloadableObjectRegistry can work fine with other parts in the library.&lt;/p&gt;
&lt;p&gt;Let me know if you have more questions.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lex&lt;/p&gt;&lt;/div&gt;</description><author>lextm</author><pubDate>Sat, 10 Oct 2009 07:59:57 GMT</pubDate><guid isPermaLink="false">New Post: SNMP Library usage 20091010075957A</guid></item></channel></rss>