GenetousSDK 1.0.1

dotnet add package GenetousSDK --version 1.0.1                
NuGet\Install-Package GenetousSDK -Version 1.0.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="GenetousSDK" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GenetousSDK --version 1.0.1                
#r "nuget: GenetousSDK, 1.0.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 GenetousSDK as a Cake Addin
#addin nuget:?package=GenetousSDK&version=1.0.1

// Install GenetousSDK as a Cake Tool
#tool nuget:?package=GenetousSDK&version=1.0.1                

Genetous .Net Framework SDK

Kurulum:

Paketi https://www.nuget.org/packages/GenetousSDK adresinden size uygun bir seçenek ile kurun.

Değişkenleri Belirleme:

applicationVariables.applicationId = "your appId";
applicationVariables.organizationId = "your orgId";
applicationVariables.clientSecret = "your client secret";
applicationVariables.host = "http://localhost/";

Örnek Login işlemi:

 Dictionary<string, object> data = new Dictionary<string, object>();
 data.Add("userpass", "your pass");
 data.Add("usermail", "your mail");
 new PostGetBuilder()
     .setData(data)
     .setCompletionHandler(new CompletionHandler((object res) => {
         if (res is string)
         {
             MessageBox.Show(res.ToString());
         }
         else if (res is Dictionary<string, object>)
         {
             Dictionary<string, object> resDic = (Dictionary<string, object>)res;
             if (resDic.ContainsKey("success") && ((bool)resDic["success"]) == true)
             {
                 token.Text = resDic["token"].ToString();
             }
             else
             {
                 MessageBox.Show("Something went wrong!", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
             }
         }
     }))
     .build()
     .login();
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  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.1 112 8/5/2024