title: Properly parse MAC Address
body: <p>When I use tools such as snmp-walk or snmp-get to query an OID with a return type of MacAddress, It'll always parse the data as a HexString and display it properly. Even when they don't have the MIBs loaded it'll still works.</p>
  
  <pre class="lang-none prettyprint-override"><code>bash#snmpwalk -v 2c -c public 10.1.2.3 1.3.6.1.4.1.14179.2.2.1.1
      SNMPv2-SMI::enterprises.14179.2.2.1.1.1.16.189.24.206.212.64 = Hex-STRING: 10 BD 18 CE D4 40 
      SNMPv2-SMI::enterprises.14179.2.2.1.1.1.100.233.80.151.114.192 = Hex-STRING: 64 E9 50 97 72 C0 
  </code></pre>
  
  <p>However, I can't seem to get the same result from <code>Lextm.SharpSnmpLib (11.2.0)</code>. Data types of MacAddress don't get decoded correctly and it's a manual process to convert it to a proper MAC. </p>
  
  <pre class="lang-cs prettyprint-override"><code>public void WalkTable()
      {
      const string baseOid = "1.3.6.1.4.1.14179.2.2.1.1"; //The entire table
      const string community = "public";
  
      var ep = new IPEndPoint(IPAddress.Parse("10.1.2.3"), 161);
      var results = new List&lt;Variable&gt;();
      Messenger.Walk(VersionCode.V2, ep, new OctetString(community), new ObjectIdentifier(baseOid), results, 60000, WalkMode.WithinSubtree);
  
      foreach(var v in results)
      Console.WriteLine(v.Data.ToString());
      }   
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/gGrLd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gGrLd.png" alt="Incorrect Results"></a></p>
  
  <p>Am I doing something wrong or is this just how the library works?</p>
  
  <hr>