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

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

Parameters used by [`RegisterEvent(LicenseKey, string, Event, string)`](/libraries/dotnet-reference/extension-methods#register-event-78b5e23057), [`RegisterEvent(LicenseKey, string, Event)`](/libraries/dotnet-reference/extension-methods#register-event-ce2aa93677).

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

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

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

## Properties

<a id="currency-40e31791ad" />

### Currency

The currency code associated with the value, when used.

<CodeGroup>
  ```csharp C# theme={null}
  [DefaultValue("")]
  [JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
  public string Currency { get; set; }
  ```

  ```vb VB.NET theme={null}
  <DefaultValue("")>
  <JsonProperty(DefaultValueHandling:=DefaultValueHandling.Populate)>
  Public Property Currency As String
  ```
</CodeGroup>

**Type:** `string`

<a id="event-name-d64d0822be" />

### EventName

The event name.

<CodeGroup>
  ```csharp C# theme={null}
  [DefaultValue("")]
  [JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
  public string EventName { get; set; }
  ```

  ```vb VB.NET theme={null}
  <DefaultValue("")>
  <JsonProperty(DefaultValueHandling:=DefaultValueHandling.Populate)>
  Public Property EventName As String
  ```
</CodeGroup>

**Type:** `string`

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

### FeatureName

The feature associated with the event.

<CodeGroup>
  ```csharp C# theme={null}
  [DefaultValue("")]
  [JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
  public string FeatureName { get; set; }
  ```

  ```vb VB.NET theme={null}
  <DefaultValue("")>
  <JsonProperty(DefaultValueHandling:=DefaultValueHandling.Populate)>
  Public Property FeatureName As String
  ```
</CodeGroup>

**Type:** `string`

<a id="metadata-0c544de2bb" />

### Metadata

Additional metadata supplied with the event.

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

### Time

The event time as a Unix timestamp.

<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-7830c877f2" />

### Value

The numeric value recorded for the event.

<CodeGroup>
  ```csharp C# theme={null}
  [DefaultValue(0)]
  [JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
  public int Value { get; set; }
  ```

  ```vb VB.NET theme={null}
  <DefaultValue(0)>
  <JsonProperty(DefaultValueHandling:=DefaultValueHandling.Populate)>
  Public Property Value As Integer
  ```
</CodeGroup>

**Type:** `int`

## Constructors

<a id="ctor-89f129b27a" />

### Event()

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

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

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