> ## Documentation Index
> Fetch the complete documentation index at: https://help.cryptolens.io/llms.txt
> Use this file to discover all available pages before exploring further.

# .NET: CreateTrialKeyModel

> Signatures, models and behavior for SKM.V3.Models.CreateTrialKeyModel in the .NET SDK 4.0.54.

Parameters used by [`CreateTrialKey(string, CreateTrialKeyModel)`](/libraries/dotnet-reference/methods/key#create-trial-key-0c9de7ee94).

**Namespace:** `SKM.V3.Models`\
**Version:** 4.0.54. Both packages; all six documented target frameworks.

<CodeGroup>
  ```csharp C# theme={null}
  public class CreateTrialKeyModel : RequestModel
  ```

  ```vb VB.NET theme={null}
  Public Class CreateTrialKeyModel Inherits RequestModel
  ```
</CodeGroup>

[Web API Reference](/api-reference/generated/CreateTrialKey)

## Inherited SDK Members

* [`LicenseServerUrl`](/libraries/dotnet-reference/models/request-model#license-server-url-67581aa5cb)

## Properties

<a id="friendly-name-987885ae95" />

### FriendlyName

Allows you to specify a friendly name for the activated device, for example the
employee's email. Friendly name does not impact the number of active machine codes / seats,
but it offers an easy way of linking a machine/seat with a user. For added security,
you can HMAC hash this value.

<CodeGroup>
  ```csharp C# theme={null}
  public string FriendlyName { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property FriendlyName As String
  ```
</CodeGroup>

**Type:** `string`

<a id="machine-code-d7dcf00fc9" />

### MachineCode

The machine code (a string that identifies a device) that this trial key will be locked to.

<CodeGroup>
  ```csharp C# theme={null}
  public string MachineCode { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property MachineCode As String
  ```
</CodeGroup>

**Type:** `string`

<a id="product-id-b8ec13be0b" />

### ProductId

The id of the product you want to access. You can find it
when you are logged in on [KeyLock](/api-reference/generated/KeyLock)
and select the product in the drop down list.

<CodeGroup>
  ```csharp C# theme={null}
  public int ProductId { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property ProductId As Integer
  ```
</CodeGroup>

**Type:** `int`

## Constructors

<a id="ctor-f599574b45" />

### CreateTrialKeyModel()

Creates an empty CreateTrialKeyModel object. This constructor does not send an API request.

<CodeGroup>
  ```csharp C# theme={null}
  public CreateTrialKeyModel()
  ```

  ```vb VB.NET theme={null}
  Public Sub New()
  ```
</CodeGroup>

[.NET SDK Reference](/libraries/dotnet-api) · [Reviewed Source Revision](https://github.com/Cryptolens/cryptolens-dotnet/tree/30aaf399ba53d9a111bee896c35bf557fa219394)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.