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

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

Parameters used by [`GetDailyAggregates(string, GetUsageAnalyticsModel)`](https://help.cryptolens.io/libraries/dotnet-reference/methods/ai#get-daily-aggregates-f4f8ca1a59), [`GetDailyCountryAggregates(string, GetUsageAnalyticsModel)`](https://help.cryptolens.io/libraries/dotnet-reference/methods/ai#get-daily-country-aggregates-6e4612f51a), [`GetKeyUsageSummaries(string, GetUsageAnalyticsModel)`](https://help.cryptolens.io/libraries/dotnet-reference/methods/ai#get-key-usage-summaries-f96e71d323), [`GetKeyDevices(string, GetUsageAnalyticsModel)`](https://help.cryptolens.io/libraries/dotnet-reference/methods/ai#get-key-devices-bd86ebf4de), [`GetLicenseActivityBuckets(string, GetUsageAnalyticsModel)`](https://help.cryptolens.io/libraries/dotnet-reference/methods/ai#get-license-activity-buckets-255765440e).

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

```csharp C# theme={null}
public class GetUsageAnalyticsModel : RequestModel
```

```vb VB.NET theme={null}
Public Class GetUsageAnalyticsModel Inherits RequestModel
```

Shared filters for the five Usage Analytics methods. Each endpoint uses its own subset of these filters; see [AI](https://help.cryptolens.io/libraries/dotnet-reference/methods/ai.md). Date strings use `yyyy-MM-dd`. Set `Limit` explicitly, for example to `100`. Use the returned IDs with `StartingAfter` or `EndingBefore` to request another page. These results do not expose a `Total` field.

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

## Inherited SDK Members

* [`LicenseServerUrl`](https://help.cryptolens.io/libraries/dotnet-reference/models/request-model#license-server-url-67581aa5cb)

## Properties

### CountryCode

The country code to filter on.

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

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

**Type:** `string`

### End

Only return aggregate records on or before this date.

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

```vb VB.NET theme={null}
Public Property [End] As String
```

**Type:** `string`

### EndingBefore

Works as a backward cursor. If the first result had id=125, setting this to 125 returns results before 125.

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

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

**Type:** `long`

### Key

The license key string to filter on.

```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 to filter on.

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

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

**Type:** `long`

### Limit

Specifies how many aggregate records should be returned.

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

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

**Type:** `int`

### MachineCode

The machine code to filter on.

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

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

**Type:** `string`

### ProductId

The product id to filter on.

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

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

**Type:** `int`

### Start

Only return aggregate records on or after this date.

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

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

**Type:** `string`

### StartingAfter

Works as a forward cursor. If the last result had id=125, setting this to 125 returns results after 125.

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

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

**Type:** `long`

## Constructors

### GetUsageAnalyticsModel()

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

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

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