Skip to content

3. Usage

Jim Reeves edited this page Mar 28, 2021 · 1 revision

How to use this helper.

There are three projects within this solution, 2 are for testing and demonstrating, the third is the actual helper.

Once downloaded, include the project SimConnectHelper within your own solution and create a reference to it.

Now, in each class where you intend to interact with MSFS 2020, add 2 using statements like so:

using SimConnectHelper;

using SimConnectHelper.Common;

That's it!

You can now use the static class SimConnectHandler to communicate with MSFS 2020, like this:

SimConnectHandler.Connect();

SimConnectHandler.Disconnect();

Clone this wiki locally