SyntropySDK 1.0.0

dotnet add package SyntropySDK --version 1.0.0
                    
NuGet\Install-Package SyntropySDK -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="SyntropySDK" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SyntropySDK" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="SyntropySDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SyntropySDK --version 1.0.0
                    
#r "nuget: SyntropySDK, 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.
#:package SyntropySDK@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SyntropySDK&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=SyntropySDK&version=1.0.0
                    
Install as a Cake Tool

Syntropy SDK for .NET Framework

.NET Framework Library for Syntropy Stack (https://www.syntropystack.com/), built with C#

License


MIT

Contributors


Use the library

You can use this library since .NET Framework version 4.5 or superior. To consume this library, just add with NuGet or DotNet CLI in your project.

Full version

    Install-Package SyntropySDK -Version 1.0.0
    dotnet add package SyntropySDK --version 1.0.0

Configuration

You need to initialized the service with SyntropyConfigurator class, with your JWT token as parameter.

    SyntropyConfigurator.Init("jwt")

Dependencies

The only dependency is Newtonsoft.Json

Public

You can use public service (HealthService) for getting data like "Health".

    using SyntropySDK.Public
    HealthService.Get()

Static Methods:

  • Get()

Platform

LogService

You can use log service (LogService) for getting data about logs.

    using SyntropySDK.Platform
    LogService.SaveLogsTimestamp()

Static Methods:

  • SaveLogsTimestamp()

AgentService

You can use agent service (AgentService) for getting data and configure agents.

    using SyntropySDK.Platform
    AgentService.GetAgentProviders()

Static Methods:

  • GetAgentProviders()
  • GetAgentProvider()
  • GetAgentConfiguration()
  • GetAgentWireGuardConfiguration()
  • GetAgents()
  • GetAgentServices()
  • GetAgentsByFilters()
  • GetAgentTags()
  • GetAgentCoordinates()
  • UpdateStatus()
  • DeleteAgentServices()
  • CreateAgent()

ConnectionService

You can use connection service (ConnectionService) for getting data and configure connections.

    using SyntropySDK.Platform
    ConnectionService.RemoveConnection()

Static Methods:

  • RemoveConnection()
  • RemoveAgentConnection()
  • DeleteAgentConnection()
  • UpdateAgentConnection()
  • GetConnections()
  • PointToPoint()
  • Mesh()

NetworkService

You can use network service (NetworkService) for getting data and configure networks.

    using SyntropySDK.Platform
    NetworkService.CreateNetwork()

Static Methods:

  • CreateNetwork()
  • GetNetworks()
  • GetTopology()
  • DeleteNetwork()
  • AddAgents()
  • RemoveAgents()

Contributions

If you want to colaborate, just fork this repository and build new things. Thanks!!

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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 542 6/19/2021

SyntropyStack version 1 for .NET Framework