Cryptlex.Net
0.0.1
See the version list below for details.
dotnet add package Cryptlex.Net --version 0.0.1
NuGet\Install-Package Cryptlex.Net -Version 0.0.1
<PackageReference Include="Cryptlex.Net" Version="0.0.1" />
paket add Cryptlex.Net --version 0.0.1
#r "nuget: Cryptlex.Net, 0.0.1"
// Install Cryptlex.Net as a Cake Addin #addin nuget:?package=Cryptlex.Net&version=0.0.1 // Install Cryptlex.Net as a Cake Tool #tool nuget:?package=Cryptlex.Net&version=0.0.1
Cryptlex.Net
Cryptlex web API .NET Library written in .NET 6.0
Work in progress
This library is still under development.
Checklist below shows types of interactions this library can perform with cryptlex web API:
- User Management
- Account Management
- Access Tokens
- Policies
- Products
- Release Management
- License Management
- Trials
- Webhooks
Installation
Using the .NET Core command-line interface (CLI) tools:
dotnet add package Cryptlex.Net
Using the NuGet Command Line Interface (CLI):
nuget install Cryptlex.Net
Using the Package Manager Console:
Install-Package Cryptlex.Net
From within Visual Studio:
- Open the Solution Explorer.
- Right-click on a project within your solution.
- Click on Manage NuGet Packages...
- Click on the Browse tab and search for "Cryptlex.Net".
- Click on the Cryptlex.Net package, select the appropriate version in the right-tab and click Install.
Documentation
For a comprehensive list of examples, check out the provided examples.
Quickstart
Prerequisites
In order to use this library, you need to obtain a personal access token from cryptlex.
Configuration
A call to AddCryptlexClient
is used on IServiceCollection
which configures the cryptlex client.
Here you will be able to specify the access token you obtained earlier.
var token = "SOME TOKEN"
services.AddCryptlexClient(a => a.AccessToken = token);
Usage
You inject the ICryptlexClient
interface, wherever you need it. This interface contains all the possible
cryptlex entities you may be able to interact with.
Here's an example of how you may do so:
public class TestClass
{
private readonly ICryptlexClient _cryptlexClient;
public TestClass(ICryptlexClient cryptlexClient)
{
_cryptlexClient = cryptlexClient;
}
public async Task SomeMethod()
{
var data = new GetAllActivationsData() { page = 2 };
await _cryptlexClient.Activations.GetAllAsync(data);
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Microsoft.AspNetCore.WebUtilities (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.