FSUIPC Client DLL
.NET interface for FSUIPC
|
A class that handles communication and data transfer to and from Pete Dowson's FSUIPC or WideFS. More...
Static Public Member Functions | |||
static FSUIPCVersion | FSUIPCVersionForClass (byte ClassInstance) | ||
Returns the version of FSUIPC we are connected to for a specific class instance.
| |||
static AirportsDatabase | AirportsDatabaseForClass (byte ClassInstance) | ||
The active Airports Database object for the specified class instance. Use this object to access data about airports. | |||
static AITrafficServices | AITrafficServicesForClass (byte ClassInstance) | ||
The active AI Traffic Services object for the specified class instance. Use this object to access data about AI aircraft. | |||
static UserInputServices | UserInputServicesForClass (Byte ClassInstance) | ||
The active UserInputServices object for the specified Class Instance. Use this object to access facilities to set up Keystrokes and Joystick Button presses for your application. Also allows you to add a menu item into Flight Sim. | |||
static PayloadServices | PayloadServicesForClass (byte ClassInstance) | ||
The active PayloadServices object for the specified Class Instance. Use this object to access Payload and Fuel information on the current aircraft. | |||
static WeatherServices | WeatherServicesForClass (byte ClassInstance) | ||
The active WeatherServices object for the specified Class Instance. Use this object to read and write weather. | |||
static Statistics | StatisticsForClass (byte ClassInstance) | ||
The statistics object for a specified Class Instance. Use this object to read various statistics about the connection. | |||
static bool | WideClientForClass (byte ClassInstance) | ||
A boolean indicating if the connection is to WideClient.exe. | |||
static bool | IsConnectionOpen () | ||
DEPRECATED: Use the property IsOpen instead. | |||
static bool | IsConnectionOpenForClass (byte ClassInstance) | ||
Lets you test if the connection to FSUIPC has been opened for a specific class instance. | |||
static FsVersion | FlightSimVersionForClass (byte ClassInstance) | ||
The version of Flight Simulator that FSUIPC is running in, or that WideFS is connected to. | |||
static void | Open () | ||
Opens a connection to FSUIPC or WideFS. Call this once when your application starts. | |||
static void | Open (int RequiredFlightSimVersion) | ||
Opens communication to FSUIPC or WideFS. Call this once when your application starts. | |||
static void | Open (FlightSim RequiredFlightSimVersion) | ||
Opens communication to FSUIPC or WideFS. Call this once when your application starts. | |||
static void | Open (byte ClassInstance, FlightSim RequiredFlightSimVersion) | ||
Opens communication to a specific class instance of WideClient.exe. Call this for each instance you want to communicate with. | |||
static void | Open (byte ClassInstance, int RequiredFlightSimVersion) | ||
Opens communication to a specific class instance of WideClient.exe. Call this for each instance you want to communicate with. | |||
static void | DisconnectGroup (string groupName) | ||
Use DeleteGroup() instead. Does the same thing but is a better name. | |||
static void | DeleteGroup (string groupName) | ||
Deletes an entire group of Offsets from the FSUIPCConnection class. Process() can no longer be called on for this group. Only use this method if you will never need to use the offsets in the group again. | |||
static void | Close () | ||
Closes all open connections with FSUIPC or WideFS and cleans up the memory used. | |||
static void | Close (byte ClassInstance) | ||
Closes the connections to a specific class instance of WideClient.exe and cleans up the memory used. | |||
static void | Process () | ||
Processes all the Offsets in the default group. To process a specific group of Offsets pass the name of the Group as a parameter. | |||
static void | Process (string GroupName) | ||
Processes all the Offsets in the specified group. | |||
static void | Process (IEnumerable< string > GroupNames) | ||
Processes all the Offsets in the groups passed in. | |||
static void | Process (byte ClassInstance) | ||
Processes all the Offsets in the default group for the specified class instance of WidwClient.exe. To process a specific group of Offsets pass the name of the Group as a parameter. | |||
static void | Process (byte ClassInstance, string GroupName) | ||
Processes all the Offsets in the specified group for the specified class instance of WideClient.exe. | |||
static void | Process (byte ClassInstance, IEnumerable< string > GroupNames) | ||
Processes all the Offsets in the groups passed in for specified class instance of WideClient.exe. | |||
static void | SendKeyToFS (Keys Key) | ||
Sends a key stroke to the Flight Sim window. | |||
static void | SendKeyToFS (byte ClassInstance, Keys Key) | ||
Sends a key stroke to the specified Class Instance of Flight Sim. | |||
static void | SendKeyToFS (Keys Key, SendModifierKeys Modifiers) | ||
Sends a key stroke to the Flight Sim window. | |||
static void | SendKeyToFS (byte ClassInstance, Keys Key, SendModifierKeys Modifiers) | ||
Sends a key stroke to the specified Class Instance of Flight Sim. | |||
static void | SendKeyToFS (Keys Key, Form ReturnFocusToForm) | ||
Sends a key stroke to the Flight Sim window. | |||
static void | SendKeyToFS (byte ClassInstance, Keys Key, Form ReturnFocusToForm) | ||
Sends a key stroke to the specified Class Instance of Flight Sim. | |||
static void | SendKeyToFS (Keys Key, SendModifierKeys Modifiers, Form ReturnFocusToForm) | ||
Sends a key stroke to the Flight Sim window. | |||
static void | SendKeyToFS (byte ClassInstance, Keys Key, SendModifierKeys Modifiers, Form ReturnFocusToForm) | ||
Sends a key stroke to the specified Class Instance of Flight Sim. | |||
static void | SendKeyHoldToFS (Keys Key, SendModifierKeys Modifiers, int HoldTime, Form ReturnFocusToForm) | ||
Sends a key press and hold to the Flight Sim window. The key is held down for the specified duration and then released. | |||
static void | SendKeyHoldToFS (Keys Key, SendModifierKeys Modifiers, int HoldTime) | ||
Sends a key press and hold to the Flight Sim window. The key is held down for the specified duration and then released. | |||
static void | SendKeyHoldToFS (byte ClassInstance, Keys Key, SendModifierKeys Modifiers, int HoldTime, Form ReturnFocusToForm) | ||
Sends a key press and hold to the specified Class Instance of Flight Sim. The key is held down for the specified duration and then released. | |||
static void | SendKeyDownToFS (byte ClassInstance, Keys Key, SendModifierKeys Modifiers, Form ReturnFocusToForm) | ||
Sends a set of key strokes to the specified Class Instance of Flight Sim. | |||
static void | SendKeyUpToFS (byte ClassInstance, Keys Key, SendModifierKeys Modifiers, Form ReturnFocusToForm) | ||
Sends a set of key strokes to the specified Class Instance of Flight Sim. | |||
static void | SendControlToFS (FsControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (FSUIPCControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (FSUIPCAxisControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (PMControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (FSUIPCAutoPilotControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (PMDG_737_NGX_Control Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (PMDG_777X_Control Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (PMDG_747QOTSII_Control Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, FsControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, FSUIPCControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, FSUIPCAxisControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, PMControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, FSUIPCAutoPilotControl Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, PMDG_737_NGX_Control Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, PMDG_777X_Control Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, PMDG_747QOTSII_Control Control, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (int ControlNumber, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static void | SendControlToFS (byte ClassInstance, int ControlNumber, int ParameterValue) | ||
Sends a control to FS with an optional parameter. | |||
static double | ReadLVar (string LVAR) | ||
Reads a local panel variable (L:VAR) from the flight sim. | |||
static double | ReadLVar (byte ClassInstance, string LVAR) | ||
Reads a local panel variable (L:VAR) from the flight sim. | |||
static void | WriteLVar (string LVAR, double NewValue) | ||
Writes a new value to a local panel variable (L:VAR) in the flight sim. | |||
static void | WriteLVar (byte ClassInstance, string LVAR, double NewValue) | ||
Writes a new value to a local panel variable (L:VAR) in the flight sim. | |||
static void | MoveAircraft (FsGate Gate, bool LeavePaused) | ||
Moves the player aircraft to a Gate from the Airports Database. | |||
static void | MoveAircraft (FsPositionSnapshot PositionSnapshot, bool LeavePaused) | ||
Moves the player aircraft according to the values in the position snapshot. | |||
static void | MoveAircraft (FsRunway Runway, bool LeavePaused) | ||
Moves the player aircraft to a Runway from the Airports Database. | |||
static void | MoveAircraft (FsHelipad Helipad, bool LeavePaused) | ||
Moves the player aircraft to a Helipad from the Airports Database. | |||
static void | MoveAircraft (FsLatLonPoint NewLocation, bool OnGround, FsAltitude? Alt, double? HeadingTrue, double? Pitch, double? Bank, double? IndicatedAirSpeedKnots, bool LeavePaused) | ||
Moves the player aircraft to a new lon/lat location. You may optionally specify new Altitude, Indicated Airspeed, Pitch, Bank or Heading values. | |||
static void | MoveAircraft (byte ClassInstance, FsLatLonPoint NewLocation, bool OnGround, FsAltitude? Alt, double? HeadingTrue, double? Pitch, double? Bank, double? IndicatedAirSpeedKnots, bool LeavePaused) | ||
Moves the player aircraft to a new lon/lat location. You may optionally specify new Altitude, Indicated Airspeed, Pitch, Bank or Heading values. | |||
static FsPositionSnapshot | GetPositionSnapshot () | ||
Takes a snapshot of the current position of the aircraft including: Location, altitude, heading, pitch, bank, onGround and IAS. | |||
static FsPositionSnapshot | GetPositionSnapshot (byte ClassInstance) | ||
Takes a snapshot of the current position of the aircraft including: Location, altitude, heading, pitch, bank, onGround and IAS. | |||
static DateTime | GetUTCDateTimeForClass (byte ClassInstance) | ||
Gets the current UTC date and time set in the Flight Sim. (aka ZULU time and GMT) for a specific WideClient Instance. | |||
static void | SetUTCDateTimeForClass (byte ClassInstance, DateTime NewDateTime) | ||
Sets the current UTC date and time set in the Flight Sim. (aka ZULU time and GMT) for a specific WideClient Instance. | |||
static DateTime | GetLocalDateTimeForClass (byte ClassInstance) | ||
Gets the current Local date and time set in the Flight Sim for a specific WideClient Instance. | |||
static void | SetLocalDateTimeForClass (byte ClassInstance, DateTime NewDateTime) | ||
Sets the current Local date and time set in the Flight Sim for a specific WideClient Instance. | |||
Properties | |
static bool | GroupsIsolatedToThread [get, set] |
Sets/Gets whether or not groups are unique to threads or can be accessed via any thread. | |
static Version | DLLVersion [get] |
Returns the version of the FSUIPC Client DLL. | |
static FSUIPCVersion | FSUIPCVersion [get] |
Returns the version of FSUIPC we are connected to. | |
static AirportsDatabase | AirportsDatabase [get] |
The active Airports Database object. Use this object to access data about airports. | |
static AITrafficServices | AITrafficServices [get] |
The active AI Traffic Services object. Use this object to access data about AI aircraft. | |
static UserInputServices | UserInputServices [get] |
The active UserInputServices object. Use this object to access facilities to set up Keystrokes and Joystick Button presses for your application. Also allows you to add a menu item into Flight Sim. | |
static PayloadServices | PayloadServices [get] |
The active PayloadServices object. Use this object to access Payload and Fuel information on the current aircraft. | |
static WeatherServices | WeatherServices [get] |
The active WeatherServices object. Use this object to read and write weather information. | |
static Statistics | Statistics [get] |
The statistics object. Use this object to read various statistics about the connection. | |
static int | SendKeyFocusWaitTime = 150 [get, set] |
Sets the time (in milliseconds) that SendKeyToFS will wait for the focus to change to/from the Flight Sim window. | |
static bool | IsOpen [get] |
Returns true is the connection is currently open. | |
static bool | IsConnectedToWideClient [get] |
A boolean indicating if the connection is to WideClient.exe. | |
static FsVersion | FlightSimVersionConnected [get] |
The version of Flight Simulator that FSUIPC is running in, or that WideFS is connected to. | |
static DateTime | UTCDateTime [get, set] |
The current UTC date and time set in the Flight Sim. (aka ZULU time and GMT). Setting a new value changes the date/time in the simulator. | |
static DateTime | LocalDateTime [get, set] |
The current Local date and time set in the Flight Sim. Setting a new value changes the date/time in the simulator. | |
A class that handles communication and data transfer to and from Pete Dowson's FSUIPC or WideFS.
|
inlinestatic |
The active Airports Database object for the specified class instance. Use this object to access data about airports.
ClassInstance | The number of the Class Instance for which you want the airports database |
|
inlinestatic |
The active AI Traffic Services object for the specified class instance. Use this object to access data about AI aircraft.
ClassInstance | The number of the Class Instance for which you want the traffic services |
|
inlinestatic |
|
inlinestatic |
Closes the connections to a specific class instance of WideClient.exe and cleans up the memory used.
Please call this when your application quits. The FSUIPC interface uses unmanaged memory for communication. The .NET garbage collection cannot clean this up for you.
|
inlinestatic |
Deletes an entire group of Offsets from the FSUIPCConnection class. Process() can no longer be called on for this group. Only use this method if you will never need to use the offsets in the group again.
groupName | The name of the Group you want to delete. |
|
inlinestatic |
Use DeleteGroup() instead. Does the same thing but is a better name.
groupName |
|
inlinestatic |
The version of Flight Simulator that FSUIPC is running in, or that WideFS is connected to.
ClassInstance | The number of the Class Instance to get the Flight Sim Version for. |
|
inlinestatic |
Gets the current Local date and time set in the Flight Sim for a specific WideClient Instance.
Usually use the property "UTCDateTime".
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
|
inlinestatic |
Takes a snapshot of the current position of the aircraft including: Location, altitude, heading, pitch, bank, onGround and IAS.
Note that this information can be passed directly to the MoveAircraft method.
|
inlinestatic |
Takes a snapshot of the current position of the aircraft including: Location, altitude, heading, pitch, bank, onGround and IAS.
Note that this information can be passed directly to the MoveAircraft method.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
|
inlinestatic |
Gets the current UTC date and time set in the Flight Sim. (aka ZULU time and GMT) for a specific WideClient Instance.
Usually use the property "UTCDateTime".
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
|
inlinestatic |
DEPRECATED: Use the property IsOpen instead.
|
inlinestatic |
Lets you test if the connection to FSUIPC has been opened for a specific class instance.
Note that you cannot use this to see if FS is still connected.
ClassInstance | The number of the Class Instance to test for an open connection. |
|
inlinestatic |
Moves the player aircraft to a new lon/lat location. You may optionally specify new Altitude, Indicated Airspeed, Pitch, Bank or Heading values.
Only works with FSX and above
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
NewLocation | The new FsLatLonPoint to move to |
OnGround | Pass true if you want the aircraft on the ground after moving. (Speed and Altitude are ignored in this case) |
Alt | The new altitude passed as a FsAltitude class. (e.g. FsAltitude.FromFeet(3000)) |
Pass null (Nothing in VB) to keep the current altitude)
HeadingTrue | The new heading in degrees true<para>Pass null (Nothing in VB) to keep the current heading) |
Pitch | The new pitch angle of the aircraft in degrees<para>Pass null (Nothing in VB) to keep the current pitch angle) |
Bank | The new bank angle of the aircraft in degrees true<para>Pass null (Nothing in VB) to keep the current bank angle) |
IndicatedAirSpeedKnots | The new indicated airspeed of the aircraft in knots<para>Pass null (Nothing in VB) to keep the current airspeed) |
LeavePaused | If set to true, the sim will be paused after moving the aircraft |
|
inlinestatic |
Moves the player aircraft to a Gate from the Airports Database.
Only works with FSX and above
Gate | The FsGate object representing the gate to move the player aircraft to |
LeavePaused | If set to true, the sim will be paused after moving the aircraft |
|
inlinestatic |
Moves the player aircraft to a Helipad from the Airports Database.
Only works with FSX and above
Helipad | The FsHelipad object representing the helipad to move the player aircraft to. |
LeavePaused | If set to true, the sim will be paused after moving the aircraft |
|
inlinestatic |
Moves the player aircraft to a new lon/lat location. You may optionally specify new Altitude, Indicated Airspeed, Pitch, Bank or Heading values.
Only works with FSX and above
NewLocation | The new FsLatLonPoint to move to |
OnGround | Pass true if you want the aircraft on the ground after moving. (Speed and Altitude are ignored in this case) |
Alt | The new altitude passed as a FsAltitude class. (e.g. FsAltitude.FromFeet(3000)) |
Pass null (Nothing in VB) to keep the current altitude)
HeadingTrue | The new heading in degrees true<para>Pass null (Nothing in VB) to keep the current heading) |
Pitch | The new pitch angle of the aircraft in degrees<para>Pass null (Nothing in VB) to keep the current pitch angle) |
Bank | The new bank angle of the aircraft in degrees true<para>Pass null (Nothing in VB) to keep the current bank angle) |
IndicatedAirSpeedKnots | The new indicated airspeed of the aircraft in knots<para>Pass null (Nothing in VB) to keep the current airspeed) |
LeavePaused | If set to true, the sim will be paused after moving the aircraft |
|
inlinestatic |
Moves the player aircraft according to the values in the position snapshot.
A position snapshot can be created manually, or automatically using the FSUIPConnection.GetPositionSnapshot() method.
Only works with FSX and above
PositionSnapshot | The FsGate object representing the gate to move the player aircraft to |
LeavePaused | If set to true, the sim will be paused after moving the aircraft |
|
inlinestatic |
Moves the player aircraft to a Runway from the Airports Database.
Only works with FSX and above
Runway | The FsRunway object representing the runway to move the player aircraft to. The player will be moves to the runway's start location with the correct heading. |
LeavePaused | If set to true, the sim will be paused after moving the aircraft |
|
inlinestatic |
Opens communication to a specific class instance of WideClient.exe. Call this for each instance you want to communicate with.
ClassInstance | Specify a specific class instance of wideclient to connect to. (See WideFS documentation for details) |
RequiredFlightSimVersion | Specify a version of Flight Sim if you want to limit your application to run only on that version. |
|
inlinestatic |
Opens communication to a specific class instance of WideClient.exe. Call this for each instance you want to communicate with.
ClassInstance | Specify a specific class instance of wideclient to connect to. (See WideFS documentation for details) |
RequiredFlightSimVersion | Specify a version of Flight Sim if you want to limit your application to run only on that version. |
|
inlinestatic |
Opens communication to FSUIPC or WideFS. Call this once when your application starts.
RequiredFlightSimVersion | Specify a version of Flight Sim if you want to limit your application to run only on that version. |
|
inlinestatic |
Opens communication to FSUIPC or WideFS. Call this once when your application starts.
RequiredFlightSimVersion | Specify a version of Flight Sim if you want to limit your application to run only on that version. |
|
inlinestatic |
The active PayloadServices object for the specified Class Instance. Use this object to access Payload and Fuel information on the current aircraft.
ClassInstance | The number of the Class Instance for which you want the payload services |
|
inlinestatic |
|
inlinestatic |
Processes all the Offsets in the default group for the specified class instance of WidwClient.exe. To process a specific group of Offsets pass the name of the Group as a parameter.
All Offsets will either have their value updated from FSUIPC, or have their value written to FSUIPC as appropriate.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
|
inlinestatic |
Processes all the Offsets in the groups passed in for specified class instance of WideClient.exe.
All Offsets will either have their value updated from FSUIPC, or have their value written to FSUIPC as appropriate.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
GroupNames | The names of the groups to process. |
|
inlinestatic |
Processes all the Offsets in the specified group for the specified class instance of WideClient.exe.
All Offsets will either have their value updated from FSUIPC, or have their value written to FSUIPC as appropriate.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
GroupName | The name of the group to process. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Reads a local panel variable (L:VAR) from the flight sim.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
LVAR | The name of the variable to read. With or without the "L:" prefix |
|
inlinestatic |
Reads a local panel variable (L:VAR) from the flight sim.
LVAR | The name of the variable to read. With or without the "L:" prefix |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
ControlNumber | The number of the control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
ControlNumber | The number of the control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a control to FS with an optional parameter.
Control | The control to send |
ParameterValue | The value of the parameter to send. Use 0 to if no parameter is required. |
|
inlinestatic |
Sends a set of key strokes to the specified Class Instance of Flight Sim.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sends a key press and hold to the specified Class Instance of Flight Sim. The key is held down for the specified duration and then released.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
HoldTime | The time in MS that the key will be held for. |
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sends a key press and hold to the Flight Sim window. The key is held down for the specified duration and then released.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
HoldTime | The time in MS that the key will be held for. |
|
inlinestatic |
Sends a key press and hold to the Flight Sim window. The key is held down for the specified duration and then released.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
HoldTime | The time in MS that the key will be held for. |
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sends a key stroke to the specified Class Instance of Flight Sim.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Key | The key to send. No not use modifiers here, use the parameter provided. |
|
inlinestatic |
Sends a key stroke to the specified Class Instance of Flight Sim.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Key | The key to send. No not use modifiers here, use the parameter provided. |
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sends a key stroke to the specified Class Instance of Flight Sim.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
|
inlinestatic |
Sends a key stroke to the specified Class Instance of Flight Sim.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sends a key stroke to the Flight Sim window.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
Key | The key to send. No not use modifiers here, use the parameter provided. |
|
inlinestatic |
Sends a key stroke to the Flight Sim window.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
Key | The key to send. No not use modifiers here, use the parameter provided. |
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sends a key stroke to the Flight Sim window.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
Key | The key to send. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
|
inlinestatic |
Sends a key stroke to the Flight Sim window.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sends a set of key strokes to the specified Class Instance of Flight Sim.
In order for this to work the Flight Sim window will become the active window.
If you want focus to return to your application, pass a reference to the form to return to.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
Key | The key to send. No not use modifiers here, use the parameter provided. |
Modifiers | The modifier keys to be held in combination with the specified Key. |
For multiple modifiers use a bitwise or operation.
ReturnFocusToForm | The form to return focus to after the keys have been sent. |
|
inlinestatic |
Sets the current Local date and time set in the Flight Sim for a specific WideClient Instance.
Usually use the property "UTCDateTime".
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
NewDateTime | The new date and time |
|
inlinestatic |
Sets the current UTC date and time set in the Flight Sim. (aka ZULU time and GMT) for a specific WideClient Instance.
Usually use the property "UTCDateTime".
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
NewDateTime | The new date and time |
|
inlinestatic |
The statistics object for a specified Class Instance. Use this object to read various statistics about the connection.
ClassInstance | The number of the Class Instance for which you want the statistics |
|
inlinestatic |
The active UserInputServices object for the specified Class Instance. Use this object to access facilities to set up Keystrokes and Joystick Button presses for your application. Also allows you to add a menu item into Flight Sim.
ClassInstance | The number of the Class Instance for which you want the input services |
|
inlinestatic |
The active WeatherServices object for the specified Class Instance. Use this object to read and write weather.
ClassInstance | The number of the Class Instance for which you want the weather services |
|
inlinestatic |
A boolean indicating if the connection is to WideClient.exe.
ClassInstance | The number of the Class Instance to test for WideClient. |
|
inlinestatic |
Writes a new value to a local panel variable (L:VAR) in the flight sim.
ClassInstance | The number of the Class Instance of WideClient you want to talk to. |
LVAR | The name of the variable to read. With or without the "L:" prefix |
NewValue | The new value to write |
|
inlinestatic |
Writes a new value to a local panel variable (L:VAR) in the flight sim.
LVAR | The name of the variable to read. With or without the "L:" prefix |
NewValue | The new value to write |
|
staticgetset |
Sets/Gets whether or not groups are unique to threads or can be accessed via any thread.
If set to false a group created on one thread can be processed/deleted on a different thread.
If true, groups are isolated to the thread on which they were created. Groups created on one thread cannot be processed/deleted from another. Groups created on different threads can have the same name.
|
staticgetset |
Sets the time (in milliseconds) that SendKeyToFS will wait for the focus to change to/from the Flight Sim window.
Default is 150ms.