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

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

Response returned by [`KeyLock(string, KeyLockModel)`](/libraries/dotnet-reference/methods/auth#key-lock-c77cd6c461).

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

<CodeGroup>
  ```csharp C# theme={null}
  public class KeyLockResult : BasicResult
  ```

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

## Inherited SDK Members

* [`Message`](/libraries/dotnet-reference/models/basic-result#message-ecae965528)
* [`Result`](/libraries/dotnet-reference/models/basic-result#result-369b981bec)

## Properties

<a id="key-id-ca497070c5" />

### KeyId

The numeric ID of the license to which the returned access token is locked.

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

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

**Type:** `long`

<a id="token-9f9e8823e5" />

### Token

The child access token returned by KeyLock.

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

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

**Type:** `string`

## Constructors

<a id="ctor-b0e82d9e44" />

### KeyLockResult()

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

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

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