title: Convert Header file .h to C#
body: <p>I am having a lot of header files (written in C) that I want to convert into C# code.
  The header files contains enums, structs, methods. </p>
  
  <p>I can convert them by hand, but that would take forever, so i was wondering if there is a tool to convert header files into C#. </p>
  
  <p>I have tried <a href="http://clrinterop.codeplex.com/releases/view/14120" rel="noreferrer">PInvoke Interop Assistant</a> but that only works with /clr compiled .dlls.</p>
  
  <p>I have tried <a href="http://www.swig.org/" rel="noreferrer">SWIG</a> and that works some of the way, it succesfully generates nice enums, but the structs and methods doesn't look very good.</p>
  
  <p>Is there other ways I can convert header .h files? </p>