> ## 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: ExtendLicenseModel

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

Stores the parameters that are required by the Extend License method.

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

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

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

**Used By:** [`ExtendLicense(string, ExtendLicenseModel)`](/libraries/dotnet-reference/methods/key#extend-license-61f0998fc3)

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

## Inherited SDK Members

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

## Properties

<a id="key-8627595133" />

### Key

The Key String, i.e. ABCDE-ABCDE-ABCDE-ABCDE.

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

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

**Type:** `string`

<a id="no-of-days-e5bceefb26" />

### NoOfDays

The number of days the license should be extended.

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

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

**Type:** `int`

<a id="product-id-7cb5a1effe" />

### ProductId

The id of the product you want to access. You can find it
when you are logged in on [ExtendLicense](/api-reference/generated/ExtendLicense)
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-031a06a9fc" />

### ExtendLicenseModel()

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

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

  ```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.