Cryptlex.Net 1.0.0

.NET 6.0
Install-Package Cryptlex.Net -Version 1.0.0
dotnet add package Cryptlex.Net --version 1.0.0
<PackageReference Include="Cryptlex.Net" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cryptlex.Net --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cryptlex.Net, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cryptlex.Net as a Cake Addin
#addin nuget:?package=Cryptlex.Net&version=1.0.0

// Install Cryptlex.Net as a Cake Tool
#tool nuget:?package=Cryptlex.Net&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Cryptlex.Net

GitHub Workflow Status NuGet License

C# library for the Cryptlex Web API

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:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for "Cryptlex.Net".
  5. 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(options => options.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 SomeClass
{
    private readonly ICryptlexClient _cryptlexClient;

    public SomeClass(ICryptlexClient cryptlexClient)
    {
        _cryptlexClient = cryptlexClient;
    }

    public async Task SomeMethod()
    {
	var data = new ListActivationsData() { page = 2 };
		
        await _cryptlexClient.Activations.ListAsync(data);
    }
}
Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 63 7/2/2022
0.4.2 58 7/1/2022
0.3.5 72 5/17/2022
0.3.4 64 5/16/2022
0.3.1 54 5/16/2022
0.3.0 67 5/15/2022
0.2.1 62 5/15/2022
0.2.0 63 5/15/2022
0.1.0 62 5/15/2022
0.0.1 64 5/14/2022