Grentry.SDK 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Grentry.SDK --version 1.0.0
NuGet\Install-Package Grentry.SDK -Version 1.0.0
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="Grentry.SDK" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Grentry.SDK --version 1.0.0
#r "nuget: Grentry.SDK, 1.0.0"
#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 Grentry.SDK as a Cake Addin
#addin nuget:?package=Grentry.SDK&version=1.0.0

// Install Grentry.SDK as a Cake Tool
#tool nuget:?package=Grentry.SDK&version=1.0.0

Grentry.SDK.Net

Grentry.SDK.Net is a Developer SDK for .Net to communicate with Grentry.Controller.

Installation

Install my-project with npm

  Install-Package Grentry.SDK -Version 1.0.0

Usage/Examples

//Create a connection to the Grenty Controller
GrentryClient client = new GrentryClient("http://127.0.0.1:5000/");

//Register all Events
client.BarcodeReceived += Client_BarcodeReceived;
client.CardPresent += Client_CardPresent;
client.CardPresentChanged += Client_CardPresentChanged;
client.CardReceived += Client_CardReceived;
client.IOChanged += Client_IOChanged;
client.SerialDataReceived += Client_SerialDataReceived;

//Start listening for the events 
await client.Start();

//Trigger Relay 0 for 1500ms
await client.TriggerRelay(0, 1500);

//Open relay 1
await client.OpenRelay(1);

//Close relay 1
await client.CloseRelay(1);

//Take photo
var data = await client.TakePhoto();

License

Grentry.SDK.Net is licensed under the MIT license. MIT

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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.1 299 12/8/2021
1.0.0 326 12/5/2021