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

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

This class adds some more fields that tell us which referencer this data object
belongs to.

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

<CodeGroup>
  ```csharp C# theme={null}
  public class DataObjectWithReferencer : DataObject
  ```

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

## Inherited SDK Members

* [`DecrementIntValue(string, int)`](/libraries/dotnet-reference/data-object#decrement-int-value-6d3d78751a)
* [`DecrementIntValue(string, int, LicenseKey)`](/libraries/dotnet-reference/data-object#decrement-int-value-d69803c757)
* [`DecrementIntValue(string, int, LicenseKey, bool, int)`](/libraries/dotnet-reference/data-object#decrement-int-value-e2538bdfaf)
* [`DecrementIntValue(string, int, bool, int)`](/libraries/dotnet-reference/data-object#decrement-int-value-53abd64fd3)
* [`Equals(object)`](/libraries/dotnet-reference/data-object#equals-f8420bdf21)
* [`Id`](/libraries/dotnet-reference/data-object#id-59b25b778f)
* [`IncrementIntValue(string, int)`](/libraries/dotnet-reference/data-object#increment-int-value-50a9744348)
* [`IncrementIntValue(string, int, LicenseKey)`](/libraries/dotnet-reference/data-object#increment-int-value-fb28371b49)
* [`IncrementIntValue(string, int, LicenseKey, bool, int)`](/libraries/dotnet-reference/data-object#increment-int-value-072f5aa57f)
* [`IncrementIntValue(string, int, bool, int)`](/libraries/dotnet-reference/data-object#increment-int-value-aa006f14a5)
* [`IntValue`](/libraries/dotnet-reference/data-object#int-value-4a6f5da5f9)
* [`Name`](/libraries/dotnet-reference/data-object#name-4941336256)
* [`SetIntValue(string, int)`](/libraries/dotnet-reference/data-object#set-int-value-0c82614868)
* [`SetIntValue(string, int, LicenseKey)`](/libraries/dotnet-reference/data-object#set-int-value-21f859cc0f)
* [`SetStringValue(string, string)`](/libraries/dotnet-reference/data-object#set-string-value-2dcb972513)
* [`SetStringValue(string, string, LicenseKey)`](/libraries/dotnet-reference/data-object#set-string-value-4e7f78085b)
* [`StringValue`](/libraries/dotnet-reference/data-object#string-value-3d1d3cd3b8)
* [`ToString()`](/libraries/dotnet-reference/data-object#to-string-40abb0ffa8)

## Properties

<a id="referencer-id-e5b60916c4" />

### ReferencerId

The id of the Referencer. It can either be an id to a product
that you have or to a license key. When ReferencerType is set
to User, there is no need to set this value.

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

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

**Type:** `int`

<a id="referencer-type-09944f8e07" />

### ReferencerType

Indicates if the data object should be added to a
license key, a product or the entire user account.
[`DataObject`](/libraries/dotnet-reference/data-object)

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

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

**Type:** [`DataObjectType`](/libraries/dotnet-reference/data-object-type)

## Constructors

<a id="ctor-8f004a64ba" />

### DataObjectWithReferencer()

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

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

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