title: SharpSNMP: Error running VB.NET code for snmpget
body: <p>I am trying to run the snmpget code sample in VB.NET available at:
  <a href="https://github.com/lextm/sharpsnmplib/tree/master/Samples/VB.NET/snmpget" rel="nofollow noreferrer">https://github.com/lextm/sharpsnmplib/blob/master/Samples/VB.NET/snmpget/</a></p>
  
  <p>When I try to run the code, I get the following exception:
  <img src="https://i.stack.imgur.com/S5s9Z.png" alt="enter image description here">
  <a href="https://i.stack.imgur.com/S5s9Z.png" rel="nofollow noreferrer">http://i.stack.imgur.com/S5s9Z.png</a></p>
  
  <p>The text on the exception indicates that the length of the string used to instantiate <code>ObjectIdentifier</code> is less than 2. However, this is not the case as seen in the watch window.</p>
  
  <p>Could you let me know:</p>
  
  <ol>
  <li>Any suggestions to fix this error. Am I not passing the command line args correctly?</li>
  <li>Could you provide a sample command line argument string for SNMP v3? </li>
  </ol>
  
  <p>Thank you for all the support!</p>