SDK C# Code to Load Airport Data

Is there any pre existing code to load data in from MSFS in relation to the airports. I would prefare the code to be that of c#