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

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

Parameters used by [`GetFloatingLicenseInformation(ActivateModel, KeyInfoResult)`](https://help.cryptolens.io/libraries/dotnet-reference/methods/helpers#get-floating-license-information-9e2ad95dbe).

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

```csharp C# theme={null}
public class KeyInfoResult : BasicResult
```

```vb VB.NET theme={null}
Public Class KeyInfoResult Inherits BasicResult
```

## Inherited SDK Members

* [`Message`](https://help.cryptolens.io/libraries/dotnet-reference/models/basic-result#message-ecae965528)
* [`Result`](https://help.cryptolens.io/libraries/dotnet-reference/models/basic-result#result-369b981bec)

## Properties

### LicenseKey

The returned license object. Inspect Result before reading it; this property can be null on failure.

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

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

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

### Metadata

Metadata related to the license key. Note, this will not always contain value.
Please see remarks for more information.

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

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

**Type:** [`KeyMetadata`](https://help.cryptolens.io/libraries/dotnet-reference/models/key-metadata)

In order to access this variable, you need to set
[`Metadata`](https://help.cryptolens.io/libraries/dotnet-reference/models/activate-model#metadata-8f030597da) or [`Metadata`](https://help.cryptolens.io/libraries/dotnet-reference/models/key-info-model#metadata-1956186122) to true.
Keep in mind that if your access token is restricted using the 'feature lock' field
or if [`FieldsToReturn`](https://help.cryptolens.io/libraries/dotnet-reference/models/activate-model#fields-to-return-ec6ce357a8) or [`FieldsToReturn`](https://help.cryptolens.io/libraries/dotnet-reference/models/key-info-model#fields-to-return-51a0d3e447)
(depending on if you activated or validated the license) have a certain value, metadata may still be null.

## Constructors

### KeyInfoResult()

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

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

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

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