Cryptlex.Net 0.3.1

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

// Install Cryptlex.Net as a Cake Tool
#tool nuget:?package=Cryptlex.Net&version=0.3.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,677 7/2/2022
0.4.2 426 7/1/2022
0.3.5 419 5/17/2022
0.3.4 413 5/16/2022
0.3.1 421 5/16/2022
0.3.0 404 5/15/2022
0.2.1 420 5/15/2022
0.2.0 415 5/15/2022
0.1.0 406 5/15/2022
0.0.1 401 5/14/2022