> For the complete documentation index, see [llms.txt](https://docs.soraco.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soraco.co/docs/api-reference/.net-api/iqlmfloatinglicensehelper/methods/registernode.md).

# RegisterNode

### Description

Activates a floating license. This will consume one floating license, if available. You should call this function when your application is launched.

If the function returns QlmActivationStatus.Activated or QlmActivationStatus.AlreadyActivated, you can proceed with the launch of your application.

Any other value would indicate an issue and you should abort the launch of your application.

```csharp
QlmActivationStatus RegisterNode(out string message)
```

### Parameters

| Parameter |  Type  | Description                                                        |
| --------- | :----: | ------------------------------------------------------------------ |
| message   | string | return error message if there was an error during the registration |

### Return

| Type                                                                                                       | Description              |
| ---------------------------------------------------------------------------------------------------------- | ------------------------ |
| [QlmActivationStatus](/docs/api-reference/.net-api/iqlmfloatinglicensehelper/enums/qlmactivationstatus.md) | status of the activation |
