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

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

The EventObject 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 EventObject
```

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

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

## Properties

### Currency

The currency, eg USD. Useful if this event has a certain value.

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

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

**Type:** `string`

### EventName

The name of the event, eg. 'click' or 'start'. Can be any string of max 20 chars in length.

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

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

**Type:** `string`

### FeatureName

The name of the feature, eg. 'VideoRecorder' or 'F1'. Can be any string of max 20 chars in length.

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

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

**Type:** `string`

### Id

A unique identifier of the event.

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

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

**Type:** `int`

### Key

The serial key string.

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

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

**Type:** `string`

### MachineCode

The machine code or any other identifier of the device/user (especially if no product and key is given).

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

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

**Type:** `string`

### Metadata

Additional metadata as JSON string related to this event. Be careful and do not send personal identifiable information unless it is really needed. Please read more ">here.

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

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

**Type:** `string`

### ProductId

The product ID.

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

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

**Type:** `int`

### Time

Time of the event.

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

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

**Type:** `long`

### Value

The value of the event, eg. if this event lead to a transaction, you can enter its value here (as an int, 25.3 should be entered as 2530). In this case, you can, for instance, set EventName to 'purchase', or anything similar.

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

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

**Type:** `int`

## Constructors

### EventObject()

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

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

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