> ## 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)`](https://help.cryptolens.io/libraries/dotnet-reference/extension-methods#register-event-78b5e23057), [`RegisterEvent(LicenseKey, string, Event)`](https://help.cryptolens.io/libraries/dotnet-reference/extension-methods#register-event-ce2aa93677).

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

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

```vb VB.NET theme={null}
Public Class [Event]
```

## Properties

### Currency

The currency code associated with the value, when used.

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

**Type:** `string`

### EventName

The event name.

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

**Type:** `string`

### FeatureName

The feature associated with the event.

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

**Type:** `string`

### Metadata

Additional metadata supplied with the event.

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

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

**Type:** `string`

### Time

The event time as a Unix timestamp.

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

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

**Type:** `long`

### Value

The numeric value recorded for the event.

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

**Type:** `int`

## Constructors

### Event()

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

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

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