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

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

```vb VB.NET theme={null}
Public Class ExtendLicenseModel Inherits RequestModel
```

**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

### Key

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

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

```vb VB.NET theme={null}
Public Property Key As String
```

**Type:** `string`

### NoOfDays

The number of days the license should be extended.

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

```vb VB.NET theme={null}
Public Property NoOfDays As Integer
```

**Type:** `int`

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

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

```vb VB.NET theme={null}
Public Property ProductId As Integer
```

**Type:** `int`

## Constructors

### ExtendLicenseModel()

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

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

```vb VB.NET theme={null}
Public Sub New()
```

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