Cryptlex.Net 0.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Cryptlex.Net --version 0.2.1                
NuGet\Install-Package Cryptlex.Net -Version 0.2.1                
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.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cryptlex.Net --version 0.2.1                
#r "nuget: Cryptlex.Net, 0.2.1"                
#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.2.1

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

Cryptlex.Net

NuGet

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(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 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,878 7/2/2022
0.4.2 451 7/1/2022
0.3.5 447 5/17/2022
0.3.4 440 5/16/2022
0.3.1 444 5/16/2022
0.3.0 429 5/15/2022
0.2.1 448 5/15/2022
0.2.0 442 5/15/2022
0.1.0 433 5/15/2022
0.0.1 430 5/14/2022