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

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

Methods that perform operations on a data object. A complete list
can be found here: [Data](/api-reference/generated/Data)

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

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

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

These methods return a result object. Check `Result == ResultType.Success` before using its data. In version 4.0.54, handled request and JSON errors normally return `ResultType.Error` with a diagnostic `Message`. A non-null result alone does not mean the request succeeded. See [Request Errors](/libraries/dotnet-reference/settings#request-errors).

## Constructors

<a id="ctor-fb6fa6108e" />

### Data()

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

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

  ```vb VB.NET theme={null}
  Public Sub New()
  ```
</CodeGroup>

## Methods

<a id="add-data-object-2626e13729" />

### AddDataObject(string, AddDataObjectModel)

Creates a new [`DataObject`](/libraries/dotnet-reference/data-object).

<CodeGroup>
  ```csharp C# theme={null}
  public static DataObjectIdResult AddDataObject(string token, AddDataObjectModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function AddDataObject(token As String, parameters As AddDataObjectModel) As DataObjectIdResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`AddDataObjectModel`](/libraries/dotnet-reference/models/add-data-object-model) | The parameters that the method needs |

**Returns:** [`DataObjectIdResult`](/libraries/dotnet-reference/models/data-object-id-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[AddDataObject](/api-reference/generated/AddDataObject)

<a id="add-data-object-411224a021" />

### AddDataObject(string, AddDataObjectToKeyModel)

Creates a new [`DataObject`](/libraries/dotnet-reference/data-object) for a key.

<CodeGroup>
  ```csharp C# theme={null}
  public static DataObjectIdResult AddDataObject(string token, AddDataObjectToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function AddDataObject(token As String, parameters As AddDataObjectToKeyModel) As DataObjectIdResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`AddDataObjectToKeyModel`](/libraries/dotnet-reference/models/add-data-object-to-key-model) | The parameters that the method needs |

**Returns:** [`DataObjectIdResult`](/libraries/dotnet-reference/models/data-object-id-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[AddDataObject](/api-reference/generated/AddDataObject)

<a id="add-data-object-7fe6ba6556" />

### AddDataObject(string, AddDataObjectToMachineCodeModel)

Creates a new [`DataObject`](/libraries/dotnet-reference/data-object) for a machine code.

<CodeGroup>
  ```csharp C# theme={null}
  public static DataObjectIdResult AddDataObject(string token, AddDataObjectToMachineCodeModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function AddDataObject(token As String, parameters As AddDataObjectToMachineCodeModel) As DataObjectIdResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`AddDataObjectToMachineCodeModel`](/libraries/dotnet-reference/models/add-data-object-to-machine-code-model) | The parameters that the method needs |

**Returns:** [`DataObjectIdResult`](/libraries/dotnet-reference/models/data-object-id-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[AddDataObject](/api-reference/generated/AddDataObject)

<a id="decrement-int-value-a9b1bdd55d" />

### DecrementIntValue(string, ChangeIntValueModel)

This method will decrement the current int value by the one specified as an input parameter,
i.e. [`IntValue`](/libraries/dotnet-reference/models/change-int-value-model#int-value-50c693e9f7).

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult DecrementIntValue(string token, ChangeIntValueModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function DecrementIntValue(token As String, parameters As ChangeIntValueModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueModel`](/libraries/dotnet-reference/models/change-int-value-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[DecrementIntValue](/api-reference/generated/DecrementIntValue)

<a id="decrement-int-value-f1cdc4a364" />

### DecrementIntValue(string, ChangeIntValueToKeyModel)

This method will decrement the current int value by the one specified as an input parameter,
i.e. [`IntValue`](/libraries/dotnet-reference/models/change-int-value-model#int-value-50c693e9f7).

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult DecrementIntValue(string token, ChangeIntValueToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function DecrementIntValue(token As String, parameters As ChangeIntValueToKeyModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueToKeyModel`](/libraries/dotnet-reference/models/change-int-value-to-key-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[DecrementIntValue](/api-reference/generated/DecrementIntValue)

<a id="decrement-int-value-f39873eb51" />

### DecrementIntValue(string, ChangeIntValueToMachineCodeModel)

This method will decrement the current int value by the one specified as an input parameter,
i.e. [`IntValue`](/libraries/dotnet-reference/models/change-int-value-model#int-value-50c693e9f7).

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult DecrementIntValue(string token, ChangeIntValueToMachineCodeModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function DecrementIntValue(token As String, parameters As ChangeIntValueToMachineCodeModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueToMachineCodeModel`](/libraries/dotnet-reference/models/change-int-value-to-machine-code-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[DecrementIntValue](/api-reference/generated/DecrementIntValue)

<a id="increment-int-value-f16cf32c50" />

### IncrementIntValue(string, ChangeIntValueModel)

This method will increment the current int value by the one specified as an input parameter,
i.e. [`IntValue`](/libraries/dotnet-reference/models/change-int-value-model#int-value-50c693e9f7).

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult IncrementIntValue(string token, ChangeIntValueModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function IncrementIntValue(token As String, parameters As ChangeIntValueModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueModel`](/libraries/dotnet-reference/models/change-int-value-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[IncrementIntValue](/api-reference/generated/IncrementIntValue)

<a id="increment-int-value-825d8257cd" />

### IncrementIntValue(string, ChangeIntValueToKeyModel)

This method will increment the current int value by the one specified as an input parameter,
i.e. [`IntValue`](/libraries/dotnet-reference/models/change-int-value-model#int-value-50c693e9f7).

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult IncrementIntValue(string token, ChangeIntValueToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function IncrementIntValue(token As String, parameters As ChangeIntValueToKeyModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueToKeyModel`](/libraries/dotnet-reference/models/change-int-value-to-key-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[IncrementIntValue](/api-reference/generated/IncrementIntValue)

<a id="increment-int-value-3d97c8c8c3" />

### IncrementIntValue(string, ChangeIntValueToMachineCodeModel)

This method will increment the current int value by the one specified as an input parameter,
i.e. [`IntValue`](/libraries/dotnet-reference/models/change-int-value-model#int-value-50c693e9f7).

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult IncrementIntValue(string token, ChangeIntValueToMachineCodeModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function IncrementIntValue(token As String, parameters As ChangeIntValueToMachineCodeModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueToMachineCodeModel`](/libraries/dotnet-reference/models/change-int-value-to-machine-code-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[IncrementIntValue](/api-reference/generated/IncrementIntValue)

<a id="list-data-objects-c7586c0838" />

### ListDataObjects(string, ListDataObjectsModel)

This method lists either all Data Object associated with a
license key, a product or your entire account, or all of them at once.

<CodeGroup>
  ```csharp C# theme={null}
  public static ListOfDataObjectsResult ListDataObjects(string token, ListDataObjectsModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function ListDataObjects(token As String, parameters As ListDataObjectsModel) As ListOfDataObjectsResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ListDataObjectsModel`](/libraries/dotnet-reference/models/list-data-objects-model) | The parameters that the method needs |

**Returns:** [`ListOfDataObjectsResult`](/libraries/dotnet-reference/models/list-of-data-objects-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[ListDataObjects](/api-reference/generated/ListDataObjects)

<a id="list-data-objects-aaaa3a07ad" />

### ListDataObjects(string, ListDataObjectsToKeyModel)

This method lists all data objects associated with a license key only.

<CodeGroup>
  ```csharp C# theme={null}
  public static ListOfDataObjectsResult ListDataObjects(string token, ListDataObjectsToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function ListDataObjects(token As String, parameters As ListDataObjectsToKeyModel) As ListOfDataObjectsResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ListDataObjectsToKeyModel`](/libraries/dotnet-reference/models/list-data-objects-to-key-model) | The parameters that the method needs |

**Returns:** [`ListOfDataObjectsResult`](/libraries/dotnet-reference/models/list-of-data-objects-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[ListDataObjects](/api-reference/generated/ListDataObjects)

<a id="list-data-objects-8144b1b2d9" />

### ListDataObjects(string, ListDataObjectsToMachineCodeModel)

This method lists all data objects associated with a machine code only.

<CodeGroup>
  ```csharp C# theme={null}
  public static ListOfDataObjectsResult ListDataObjects(string token, ListDataObjectsToMachineCodeModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function ListDataObjects(token As String, parameters As ListDataObjectsToMachineCodeModel) As ListOfDataObjectsResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ListDataObjectsToMachineCodeModel`](/libraries/dotnet-reference/models/list-data-objects-to-machine-code-model) | The parameters that the method needs |

**Returns:** [`ListOfDataObjectsResult`](/libraries/dotnet-reference/models/list-of-data-objects-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[ListDataObjects](/api-reference/generated/ListDataObjects)

<a id="remove-data-object-833559cc2d" />

### RemoveDataObject(string, RemoveDataObjectModel)

This method will remove an existing data object.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult RemoveDataObject(string token, RemoveDataObjectModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function RemoveDataObject(token As String, parameters As RemoveDataObjectModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`RemoveDataObjectModel`](/libraries/dotnet-reference/models/remove-data-object-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[RemoveDataObject](/api-reference/generated/RemoveDataObject)

<a id="remove-data-object-f3e248d03b" />

### RemoveDataObject(string, RemoveDataObjectToKeyModel)

This method will remove an existing data object.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult RemoveDataObject(string token, RemoveDataObjectToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function RemoveDataObject(token As String, parameters As RemoveDataObjectToKeyModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`RemoveDataObjectToKeyModel`](/libraries/dotnet-reference/models/remove-data-object-to-key-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[RemoveDataObject](/api-reference/generated/RemoveDataObject)

<a id="remove-data-object-d9f0ed04ab" />

### RemoveDataObject(string, RemoveDataObjectToMachineCodeModel)

This method will remove an existing data object.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult RemoveDataObject(string token, RemoveDataObjectToMachineCodeModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function RemoveDataObject(token As String, parameters As RemoveDataObjectToMachineCodeModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`RemoveDataObjectToMachineCodeModel`](/libraries/dotnet-reference/models/remove-data-object-to-machine-code-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[RemoveDataObject](/api-reference/generated/RemoveDataObject)

<a id="set-int-value-acf41ed0b3" />

### SetIntValue(string, ChangeIntValueModel)

This method will set the int value to a new one.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult SetIntValue(string token, ChangeIntValueModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function SetIntValue(token As String, parameters As ChangeIntValueModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueModel`](/libraries/dotnet-reference/models/change-int-value-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[SetIntValue](/api-reference/generated/SetIntValue)

Note also: Integer overflows are not allowed. If you attempt to assign an int value that is beyond the limits of an int32, zero will be assigned to the data object's IntValue.

<a id="set-int-value-d68a8edd47" />

### SetIntValue(string, ChangeIntValueToKeyModel)

This method will set the int value to a new one.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult SetIntValue(string token, ChangeIntValueToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function SetIntValue(token As String, parameters As ChangeIntValueToKeyModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueToKeyModel`](/libraries/dotnet-reference/models/change-int-value-to-key-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[SetIntValue](/api-reference/generated/SetIntValue)

Note also: Integer overflows are not allowed. If you attempt to assign an int value that is beyond the limits of an int32, zero will be assigned to the data object's IntValue.

<a id="set-int-value-719ca18f55" />

### SetIntValue(string, ChangeIntValueToMachineCodeModel)

This method will set the int value to a new one.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult SetIntValue(string token, ChangeIntValueToMachineCodeModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function SetIntValue(token As String, parameters As ChangeIntValueToMachineCodeModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeIntValueToMachineCodeModel`](/libraries/dotnet-reference/models/change-int-value-to-machine-code-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[SetIntValue](/api-reference/generated/SetIntValue)

Note also: Integer overflows are not allowed. If you attempt to assign an int value that is beyond the limits of an int32, zero will be assigned to the data object's IntValue.

<a id="set-string-value-bf96429d32" />

### SetStringValue(string, ChangeStringValueModel)

This method will set the string value to a new one.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult SetStringValue(string token, ChangeStringValueModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function SetStringValue(token As String, parameters As ChangeStringValueModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeStringValueModel`](/libraries/dotnet-reference/models/change-string-value-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[SetStringValue](/api-reference/generated/SetStringValue)

<a id="set-string-value-bf61e78b38" />

### SetStringValue(string, ChangeStringValueToKeyModel)

This method will set the string value to a new one.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult SetStringValue(string token, ChangeStringValueToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function SetStringValue(token As String, parameters As ChangeStringValueToKeyModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeStringValueToKeyModel`](/libraries/dotnet-reference/models/change-string-value-to-key-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[SetStringValue](/api-reference/generated/SetStringValue)

<a id="set-string-value-5ec851dc91" />

### SetStringValue(string, ChangeStringValueToMachineCodeModel)

This method will set the string value to a new one.

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult SetStringValue(string token, ChangeStringValueToMachineCodeModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function SetStringValue(token As String, parameters As ChangeStringValueToMachineCodeModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`ChangeStringValueToMachineCodeModel`](/libraries/dotnet-reference/models/change-string-value-to-machine-code-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[SetStringValue](/api-reference/generated/SetStringValue)

<a id="upload-values-6d71251b9f" />

### UploadValues(string, UploadValuesToKeyModel)

This method will extract content from a Cryptolens log (used in offline licensing) and update existing data objects (either by incrementing or decrementing them).
To call this method, you either need an "Increment Int Value" and/or "Decrement Int Value" permission, depending on if the log that you submit increases or
decreases an int value of a data object. Note: for the time being, the limit of the number of entries in the log is 1000.
i.e. [`IntValue`](/libraries/dotnet-reference/models/change-int-value-model#int-value-50c693e9f7).

<CodeGroup>
  ```csharp C# theme={null}
  public static BasicResult UploadValues(string token, UploadValuesToKeyModel parameters)
  ```

  ```vb VB.NET theme={null}
  Public Shared Function UploadValues(token As String, parameters As UploadValuesToKeyModel) As BasicResult
  ```
</CodeGroup>

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

**Parameters**

| Name | Type | Description |
| - | - | - |
| `token` | `string` | The access token. Read more at [Auth](/api-reference/generated/Auth) |
| `parameters` | [`UploadValuesToKeyModel`](/libraries/dotnet-reference/models/upload-values-to-key-model) | The parameters that the method needs |

**Returns:** [`BasicResult`](/libraries/dotnet-reference/models/basic-result). The API response. Check `Result` and `Message` before using the returned data.

Note: for more details, please see
[UploadValues](/api-reference/generated/UploadValues)

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