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

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

Metadata related to the license key. Note, this will not always contain value.

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

```csharp C# theme={null}
public class KeyMetadata
```

```vb VB.NET theme={null}
Public Class KeyMetadata
```

## Properties

### ActivatedMachines

The number of activated machines for this license key.

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

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

**Type:** `int`

### LicenseStatus

Additional information about the license key. This variable will use the
'feature definitions' (that you can define in the dashboard for a given product)
and the license properties to determine if the license is valid or not (eg. if it has expired).

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

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

**Type:** [`LicenseStatus`](https://help.cryptolens.io/libraries/dotnet-reference/license-status)

### Signature

The Signature of the metadata object.

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

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

**Type:** `string`

### UsedFloatingMachines

The number of active floating machine codes for a specific FloatingTimeInterval.
Tip: If you want to find the number of unused machines, subtract this value from maxNumberOfMachines.
If overdraft is used, you need to add the maxOverdraft value to maxNumberOfMachines.

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

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

**Type:** `int`

## Constructors

### KeyMetadata()

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

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

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

## Methods

### VerifySignature(string)

Verifies the integrity of the object (eg. it has not been changed since it was generated on the server).

```csharp C# theme={null}
public bool VerifySignature(string RSAPublicKey)
```

```vb VB.NET theme={null}
Public Function VerifySignature(RSAPublicKey As String) As Boolean
```

**Availability:** Standard package: .NET Framework 4.6, .NET Framework 4.7, .NET Framework 4.7.1, .NET Framework 4.8, .NET Standard 2.0; Cross-platform package: .NET Framework 4.6, .NET Framework 4.7, .NET Framework 4.7.1, .NET Framework 4.8, .NET Standard 2.0.

**Parameters**

| Name | Type | Description |
| - | - | - |
| `RSAPublicKey` | `string` | Your public key (see this page [QuickStart](https://help.cryptolens.io/api-reference/generated/QuickStart.md)) |

**Returns:** `bool`. True if the signature is correct and false otherwise.

[.NET SDK Reference](https://help.cryptolens.io/libraries/dotnet-api.md) · [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.