title: Define MIB and send SNMP trap under .net
body: <p>I have developed a special application for a company under .net in C# and it is used for years. Now it is developed on, one of the main new features I have to implement is to integrate it with another software by sending SNMP traps to it in some alert situations.</p>
  
  <p>I am an experienced developer but I have never used SNMP. I googled the whole day but getting more and more confused about this topic. I don't have a clear 'starting point'. I understand the basics of SNMP but I don't know where and how to begin implementation.</p>
  
  <p>I have the data I should send via SNMP trap, it has some 10 properties, some dates, numbers and strings. I should create MIB definition(s) on this properties. Later I should implement a feature in my application that sends SNMP traps based on this MIBs.</p>
  
  <p>The project is developed under .net 4 in c#. I found this library that seems promising: <a href="http://sharpsnmplib.codeplex.com/" rel="nofollow noreferrer">http://sharpsnmplib.codeplex.com/</a>
  It has some sample about sending SNMP traps.</p>
  
  <p>My problem is: where to begin? How can I define MIB files? I know they're some text files that must be compiled, but have not find any MIB editors and help on this topic.</p>
  
  <p>Any help is appreciated!</p>
  
  <p>Thanks!</p>