Cryptlex.Net 0.4.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Cryptlex.Net --version 0.4.2                
NuGet\Install-Package Cryptlex.Net -Version 0.4.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cryptlex.Net" Version="0.4.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cryptlex.Net --version 0.4.2                
#r "nuget: Cryptlex.Net, 0.4.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=0.4.2

// Install Cryptlex.Net as a Cake Tool
#tool nuget:?package=Cryptlex.Net&version=0.4.2                

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
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 2,886 7/2/2022
0.4.2 456 7/1/2022
0.3.5 450 5/17/2022
0.3.4 445 5/16/2022
0.3.1 447 5/16/2022
0.3.0 432 5/15/2022
0.2.1 451 5/15/2022
0.2.0 445 5/15/2022
0.1.0 436 5/15/2022
0.0.1 433 5/14/2022