Skip to content

Commit

Permalink
Add version to status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbohn committed Jul 22, 2024
1 parent 714a44b commit be7bce3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
19 changes: 18 additions & 1 deletion TokenGeneratorJWT/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions TokenGeneratorJWT/Form1.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Microsoft.IdentityModel.Tokens;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Reflection;
using System.Security.Claims;
using System.Text;
using System.Text.Json;
Expand All @@ -23,6 +24,7 @@ public Form1()
{
InitializeComponent();
SetParamsForKeyAlgorithm(SecurityAlgorithm,MinKeyLength);
StatusLabelVersion.Text = Assembly.GetEntryAssembly().GetName().Version.ToString();
}

private void buttonBuildToken_Click(object sender, EventArgs e)
Expand Down
1 change: 1 addition & 0 deletions TokenGeneratorJWT/TokenGeneratorJWT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<Version>1.3.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit be7bce3

Please sign in to comment.