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

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

Parameters used by [`Deactivate(string, DeactivateModel)`](/libraries/dotnet-reference/methods/key#deactivate-9d1100e31a).

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

<CodeGroup>
  ```csharp C# theme={null}
  public class DeactivateModel : KeyLockModel
  ```

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

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

## Inherited SDK Members

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

## Properties

<a id="floating-1705af5c83" />

### Floating

When true, this will release the floating license
(without removing it from the list of node-locked licenses)

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

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

**Type:** `bool`

<a id="machine-code-1752cebd35" />

### MachineCode

The machine code (a string that identifies a device) for activation.

<CodeGroup>
  ```csharp C# theme={null}
  [DefaultValue("")]
  public string MachineCode { get; set; }
  ```

  ```vb VB.NET theme={null}
  <DefaultValue("")>
  Public Property MachineCode As String
  ```
</CodeGroup>

**Type:** `string`

<a id="osinfo-36b17bcbf7" />

### OSInfo

Additional OS information, which will be registered as an event. If this variable is not set or set to null,
this variable will contain a JSON serialized version of [`MachineInfo`](/libraries/dotnet-reference/models/machine-info), which is computed using
[`GetOSStats()`](/libraries/dotnet-reference/methods/helpers#get-osstats-c570c8d419). If you do not want OS data to be registered, set this variable to
empty string. You can also send in other data by setting this variable to something else.
Be careful with personal identifiable information and do not send in more data than necessary. Please read more
at [https://help.cryptolens.io/legal/DataPolicy#how-to-be-compliant-as-a-software-vendor](https://help.cryptolens.io/legal/DataPolicy#how-to-be-compliant-as-a-software-vendor).

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

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

**Type:** `string`

## Constructors

<a id="ctor-f5f7f33d3e" />

### DeactivateModel()

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

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

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