I was wondering if there was a built in runtime parser for header files in C#. I have several different C header files that I want to parse (They will later be used to determine how a network packet will be deserialized).
Ideally, some option to load the .h file dynamically, create the struct, and then use reflection to somehow parse the struct, just not certain if there's a way to load the .h file at runtime to create the struct.
If there is no easy way to do this, I can just parse it manually.