How do I port the mission planner mavlink

hi,all.consult you a question, I am intending to program myself gcs software with c#, , I have downloaded mission planner code from github, so how can I port the part of mavlink of mission planner to myself software, would you please give me some hints, thanks a lot