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

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

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

## Inherited SDK Members

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

## Properties

### KeyId

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

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

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

**Type:** `long`

### Token

The child access token returned by KeyLock.

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

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

**Type:** `string`

## Constructors

### KeyLockResult()

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

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

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