Skip to content

2. Introduction

Jim Reeves edited this page Mar 28, 2021 · 3 revisions

What is this?

As many developers have discovered, connecting to Microsoft Flight Simulation 2020 (MSFS 2020) using code requires the use of the MSFS 2020 SimConnect SDK.

SimConnect is a DLL, written in C++ and can be quite daunting. Especially since there is very little documentation available for it.

The SDK also provides a wrapper, to use the DLL within managed code (e.g. C#), which provides all the same methods etc, still not much documentation relating to this.

As part of a tutorial in the MSFS 2020 Forum, I have developed this C# code with several aims in mind.

  1. To de-mystify some of the SimConnect features
  2. To simplify its use by providing an optional replacement SDK
  3. Provide functional (well documented) code for non-C# developers to understand and port to other languages

There are 3 projects within this solution, a Demo Form for manual testing of the helper class, a Test Project for Unit Testing of the helper class, and of course the static helper class itself (SimConnectHandler).

Clone this wiki locally