Today I'm releasing the first public beta of my new Managed SimConnect Client SDK. This SDK can be used to build managed SimConnect clients, both desktop (Console, WinForm, WPF) and web (Silverlight).
Welcome to Beta 1
Benefits of new client library:
- No reliance on SimConnect.MSI or the native client library it installs.
- Ability to compile projects using the Any CPU build setting.
- Ability to build SilverLight based web clients.
- Simpler Data Structure Definition/Registration system using custom attributes.
- Overloads provided for those APIs where appropriate allowing use of default values like the native library has.
- Ability to pass an instance object to a RequestDataOnSimObject call, allowing the instance to be auto updated as new requested data is received.
- Working support for Client Data API functions
- No SimConnect.CFG file required/used, Server Name and Port provided in the SimConnect.Open(...) call.
- In general, more .Net friendly :->.
- Uses a Ships-With model i.e. you ship the library with your application, installed in the same directory as your application. An alternate option is to use something like ILMerge.exe to embed the client library directly into your application.
- Client libraries are compatible with FSX SP2, FSX + Acceleration pack, and ESP v1. Client libraries will NOT connect to FSX RTM or FSX SP1.
A note on Silverlight Support
The SilverLight runtime imposes several restrictions on socket communications. SilverLight applications can only open a port in the range 4502 through 4534, so you will need to modify your SimConnect.XML file to open one or more IPv4 ports in this range. Here is a sample SimConnect.XML file:
For the remaining information, visit Beatle's Blog here.