Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.nuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ SimConnect.NET is currently in beta development. APIs may change, features may b
await client.ConnectAsync();

// Get aircraft data
var altitude = await client.SimVarManager.GetAsync<double>("PLANE ALTITUDE", "feet");
var airspeed = await client.SimVarManager.GetAsync<double>("AIRSPEED INDICATED", "knots");
var altitude = await client.SimVars.GetAsync<double>("PLANE ALTITUDE", "feet");
var airspeed = await client.SimVars.GetAsync<double>("AIRSPEED INDICATED", "knots");

Console.WriteLine($"Altitude: {altitude:F0} ft");
Console.WriteLine($"Airspeed: {airspeed:F0} kts");
Expand Down