Skip to content

C# library for communicating with Abenity REST Api

Notifications You must be signed in to change notification settings

ryan1234/abenity-csharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abenity C#

This library communicates with the Abenity API to make it easier to integrate with Abenity, specifically in C#.

Nuget Feed

The Nuget package is available here: https://www.nuget.org/packages/abenity-csharp/

Projects

In this repository there are two projects:

  1. Abenity.Api: This is the source code for the Nuget package. It handles the security aspects of communicating data to Abenity's API.
  2. Abenity.TestClient: This is a sample project to show how to use (1).

Requirements

Before making calls you will need the following information. The Abenity API package will require each piece of information.

  1. API credentials. Specifically: username, password and key. You get these values from Abenity.
  2. A public and private key. You need to generate these, and send your public key to Abenity to associate with your account.

Generating keys

Both keys should be in the PKCS1 format. A sample public.pem might look like this:

-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEA0+5ulw0FHaD3yCw8zPhav2lVdasl5waVSyl6r6QFX0RzmtGwvpJ1
...
MKvJ+YJuE/9hifO3R8XslKWYW2cOTg0QPQIDAQAB
-----END RSA PUBLIC KEY-----

A sample private.pem might look like this:

-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA0+5ulw0FHaD3yCw8zPhav2lVdasl5waVSyl6r6QFX0RzmtGw
...
vPn0wjZ7mgn3qGbqSCoPonh7iJH15Rw7CLJgPntRvsk0oqNxj1/N
-----END RSA PRIVATE KEY-----

This library only supports PKCS1 formats. Please ensure your key files match the format above!

About

C# library for communicating with Abenity REST Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.9%
  • Batchfile 1.1%