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

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

Parameters used by [`SetStringValue(string, ChangeStringValueToMachineCodeModel)`](https://help.cryptolens.io/libraries/dotnet-reference/methods/data#set-string-value-5ec851dc91).

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

```csharp C# theme={null}
public class ChangeStringValueToMachineCodeModel : ProdKeyMachineCode
```

```vb VB.NET theme={null}
Public Class ChangeStringValueToMachineCodeModel Inherits ProdKeyMachineCode
```

[Web API Reference](https://help.cryptolens.io/api-reference/generated/SetStringValue.md)

## Inherited SDK Members

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

## Properties

### Id

The unique object id for the data object. If you set the Name parameter, you can skip the Id parameter.

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

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

**Type:** `long`

### Name

The name of the data object (assuming there are no duplicates).

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

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

**Type:** `string`

### StringValue

A string value (text) to store. Max 10000 characters.

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

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

**Type:** `string`

## Constructors

### ChangeStringValueToMachineCodeModel()

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

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

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