Skip to content

Commit 35ee721

Browse files
committed
Add Friendly Name to CreateTrialKey method
1 parent 5064334 commit 35ee721

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,4 @@ FakesAssemblies/
201201
*.ide-shm
202202
*.ide-wal
203203
/.vs/SKM/v16/TestStore/0
204+
cryptolens.snk

Cryptolens.Licensing/Models/WebAPIModels.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,16 @@ public class CreateTrialKeyModel : RequestModel
527527
/// </summary>
528528
public string MachineCode { get; set; }
529529

530+
/// <summary>
531+
/// Allows you to specify a friendy name for the activated device, for example the
532+
/// employee's email. Friendly name does not impact the number of active machine codes / seats,
533+
/// but it offers an easy way of linking a machine/seat with a user. For added security,
534+
/// you can HMAC hash this value.
535+
/// </summary>
536+
public string FriendlyName { get; set; }
537+
538+
539+
530540
}
531541
public class CreateKeyModel : RequestModel
532542
{

SKM Test/SKM Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<AppDesignerFolder>Properties</AppDesignerFolder>
99
<RootNamespace>SKM_Test</RootNamespace>
1010
<AssemblyName>SKM Test</AssemblyName>
11-
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1414
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>

SKM Test/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
</dependentAssembly>
99
</assemblyBinding>
1010
</runtime>
11-
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/></startup></configuration>
11+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

0 commit comments

Comments
 (0)