Skip to content

Commit

Permalink
Update Example Code
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianJSClark committed Sep 28, 2022
1 parent 994beb3 commit 1459afb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/Console/iRacingConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
var services = new ServiceCollection();
services.AddIRacingDataApi(options =>
{
options.UserAgentProductName = "Aydsko.iRacing Example";
options.UserAgentProductVersion = typeof(Program).Assembly.GetName().Version;
options.Username = username;
options.Password = password;
});
Expand Down
2 changes: 1 addition & 1 deletion examples/Console/iRacingConsole/iRacingConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aydsko.iRacingData" Version="0.1.0" />
<PackageReference Include="Aydsko.iRacingData" Version="0.6.1" />
</ItemGroup>

</Project>

0 comments on commit 1459afb

Please sign in to comment.