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

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

The KeyDevice model used by the .NET SDK.

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

<CodeGroup>
  ```csharp C# theme={null}
  public class KeyDevice
  ```

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

[Web API Reference](/api-reference/generated/model/KeyDevice)

## Properties

<a id="first-seen-utc-44c81f7d26" />

### FirstSeenUtc

The first time this key and machine code pair was seen.

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

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

**Type:** `long`

<a id="id-50ea7c8d9e" />

### Id

A unique identifier of this device entry.

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

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

**Type:** `long`

<a id="key-133b286186" />

### Key

The license key string, if the key still exists.

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

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

**Type:** `string`

<a id="key-id-2d8678c2a4" />

### KeyId

The license key ID.

<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="last-seen-utc-db8807b753" />

### LastSeenUtc

The last time this key and machine code pair was seen.

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

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

**Type:** `long`

<a id="machine-code-b00fa1c007" />

### MachineCode

The machine code associated with this device entry.

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

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

**Type:** `string`

<a id="product-id-f14b886fd5" />

### ProductId

The id of the product.

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

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

**Type:** `int`

<a id="total-requests-4e27d6ce4a" />

### TotalRequests

The total number of requests observed for this key and machine code pair.

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

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

**Type:** `long`

## Constructors

<a id="ctor-81483eaa86" />

### KeyDevice()

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

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

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