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

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

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

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

## Properties

<a id="currency-0cb68a14f9" />

### Currency

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

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

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

**Type:** `string`

<a id="event-name-9b6751418d" />

### EventName

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

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

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

**Type:** `string`

<a id="feature-name-d53355e96c" />

### FeatureName

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

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

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

**Type:** `string`

<a id="id-b489a64210" />

### Id

A unique identifier of the event.

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

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

**Type:** `int`

<a id="key-b843068132" />

### Key

The serial key string.

<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="machine-code-3ffefea302" />

### MachineCode

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

<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="metadata-6a2b97ce46" />

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

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

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

**Type:** `string`

<a id="product-id-7c18278c56" />

### ProductId

The product ID.

<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="time-51ad38ae63" />

### Time

Time of the event.

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

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

**Type:** `long`

<a id="value-a58ad2de9f" />

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

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

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

**Type:** `int`

## Constructors

<a id="ctor-d3901bc5b2" />

### EventObject()

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

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

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