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

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

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

[Web API Reference](https://help.cryptolens.io/api-reference/generated/model/KeyDevice.md)

## Properties

### FirstSeenUtc

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

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

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

**Type:** `long`

### Id

A unique identifier of this device entry.

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

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

**Type:** `long`

### Key

The license key string, if the key still exists.

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

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

**Type:** `string`

### KeyId

The license key ID.

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

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

**Type:** `long`

### LastSeenUtc

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

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

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

**Type:** `long`

### MachineCode

The machine code associated with this device entry.

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

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

**Type:** `string`

### ProductId

The id of the product.

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

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

**Type:** `int`

### TotalRequests

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

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

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

**Type:** `long`

## Constructors

### KeyDevice()

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

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

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