using System.Threading.Tasks; namespace SimConnect { /// /// Provides a factory for creating a SimConnect client instance. /// public interface ISimConnectClientFactory { /// /// Tries to connect to any of the compatible running SimConnect servers. /// /// The application name passed to the SimConnect server. /// A client interface if succesful or nil if no connection could be made. Task TryConnect(string appName); } }