BimPlugins.SDK.Licensing
1.0.0-alpha6
dotnet add package BimPlugins.SDK.Licensing --version 1.0.0-alpha6
NuGet\Install-Package BimPlugins.SDK.Licensing -Version 1.0.0-alpha6
<PackageReference Include="BimPlugins.SDK.Licensing" Version="1.0.0-alpha6" />
<PackageVersion Include="BimPlugins.SDK.Licensing" Version="1.0.0-alpha6" />
<PackageReference Include="BimPlugins.SDK.Licensing" />
paket add BimPlugins.SDK.Licensing --version 1.0.0-alpha6
#r "nuget: BimPlugins.SDK.Licensing, 1.0.0-alpha6"
#:package BimPlugins.SDK.Licensing@1.0.0-alpha6
#addin nuget:?package=BimPlugins.SDK.Licensing&version=1.0.0-alpha6&prerelease
#tool nuget:?package=BimPlugins.SDK.Licensing&version=1.0.0-alpha6&prerelease
BimPlugins.SDK.Licensing
Licensing SDK for .NET applications. Validates licenses against the BimPlugins Local License Server.
Requirements
- Windows
- BimPlugins Local License Server installed and running
Supported Frameworks
- .NET Framework 4.8
- .NET 6.0 – 10.0 (Windows)
Important: Published Applications Only
This SDK uses .NET Reactor obfuscation for intellectual property protection. The protected assemblies will throw a System.TypeInitializationException when run from a development environment (e.g., dotnet run, Visual Studio debugger, or F5). This applies both to local project references and NuGet package references.
The SDK works correctly only when the consuming application is published (e.g., dotnet publish). This is expected behavior — the obfuscation runtime resolves correctly in a published output directory.
Installation
dotnet add package BimPlugins.SDK.Licensing
Or via the NuGet Package Manager:
Install-Package BimPlugins.SDK.Licensing
Quick Start
using BimPlugins.SDK.Licensing;
using BimPlugins.SDK.Licensing.Common;
var manager = new LicenseManager();
var response = await manager.CheckForLicenseAsync("my-application-id");
switch (response.Status)
{
case ResponseStatus.Success:
Console.WriteLine($"License valid until {response.LicenseExpiresAt}");
break;
case ResponseStatus.Expiring:
Console.WriteLine($"License expiring on {response.LicenseExpiresAt}");
break;
case ResponseStatus.LicenseExpired:
Console.WriteLine("License has expired.");
break;
case ResponseStatus.ServerNotAvailable:
Console.WriteLine("Local License Server is not running.");
break;
default:
Console.WriteLine($"License check failed: {response.ErrorMessage}");
break;
}
API Reference
LicenseManager
The primary class for license validation.
CheckForLicenseAsync(string applicationId)
Validates the license for the given application ID against the Local License Server.
- Parameters:
applicationId– The unique identifier of your application. - Returns:
Task<LicenseCheckResponse>– The validation result.
Each call opens a secure connection to the Local License Server, performs validation, and closes automatically. A 10-second timeout is applied to the connection attempt.
LicenseCheckResponse
| Property | Type | Description |
|---|---|---|
RequestId |
string |
Unique ID for the request |
Status |
ResponseStatus |
Result status code |
LicenseExpiresAt |
DateTime |
When the license expires |
ErrorMessage |
string |
Error details (if the check failed) |
IsTrial |
bool |
Whether the license is a trial |
TrialEndsAt |
DateTime? |
When the trial ends (null if not a trial) |
ResponseStatus
| Value | Code | Description |
|---|---|---|
Success |
200 | License is valid |
Expiring |
201 | License is valid but expiring soon |
BadRequest |
400 | Malformed request |
LicenseExpired |
401 | License has expired |
LicenseNotFound |
404 | No license found for this application |
LicenseNotAssigned |
503 | License exists but is not assigned |
ServerNotAvailable |
504 | Local License Server is not running |
CheckoutExpired |
505 | License checkout has expired |
TrialExpired |
506 | Trial period has ended |
License
Proprietary License - Copyright © 2026 BIM Plugins. All rights reserved.
You may use this SDK to build and distribute applications, but you may NOT modify or redistribute the SDK itself. See the LICENSE.txt file included in the package for complete terms and conditions.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-windows10.0 is compatible. net7.0-windows was computed. net7.0-windows10.0 is compatible. net8.0-windows was computed. net8.0-windows10.0 is compatible. net9.0-windows was computed. net9.0-windows10.0 is compatible. net10.0-windows was computed. net10.0-windows10.0 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- System.Text.Json (>= 10.0.0)
-
net10.0-windows10.0
- No dependencies.
-
net6.0-windows10.0
- No dependencies.
-
net7.0-windows10.0
- No dependencies.
-
net8.0-windows10.0
- No dependencies.
-
net9.0-windows10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha6 | 64 | 4/14/2026 |
| 1.0.0-alpha5 | 56 | 4/14/2026 |
| 1.0.0-alpha4 | 65 | 4/3/2026 |
| 1.0.0-alpha3 | 63 | 4/3/2026 |
| 1.0.0-alpha2 | 64 | 4/3/2026 |
| 1.0.0-alpha1 | 69 | 4/3/2026 |