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

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

Parameters used by [`AddDataObject(string, AddDataObjectToMachineCodeModel)`](/libraries/dotnet-reference/methods/data#add-data-object-7fe6ba6556).

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

<CodeGroup>
  ```csharp C# theme={null}
  public class AddDataObjectToMachineCodeModel : ProdKeyMachineCode
  ```

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

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

## Inherited SDK Members

* [`Key`](/libraries/dotnet-reference/models/key-lock-model#key-b5e79d9337)
* [`ProductId`](/libraries/dotnet-reference/models/key-lock-model#product-id-ce0f5d422f)
* [`MachineCode`](/libraries/dotnet-reference/models/prod-key-machine-code#machine-code-dd8b7ee46c)
* [`LicenseServerUrl`](/libraries/dotnet-reference/models/request-model#license-server-url-67581aa5cb)

## Properties

<a id="check-for-duplicates-09f627b0b0" />

### CheckForDuplicates

Make sure data objects with the same name are not added.

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

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

**Type:** `bool`

<a id="int-value-bc0d16483a" />

### IntValue

An int value (int32) to store.

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

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

**Type:** `int`

<a id="name-f40f4c0e84" />

### Name

The name of the data object. The API accepts up to 100 characters.

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

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

**Type:** `string`

<a id="string-value-3c0033da95" />

### StringValue

A string value (text) to store. The API accepts up to 10,000 characters.

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

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

**Type:** `string`

## Constructors

<a id="ctor-2b28a170fd" />

### AddDataObjectToMachineCodeModel()

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

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

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