Install-Package Newtonsoft.Json
- .Net Core 2
- .Net framework 4+
var app = new FinnotechApplication()
{
ApplicationCredentials = new ApplicationCredentials()
{
NationalId = "your national Id",
ApplicationId = "your application Id",
ApplicationSecret = "your application secret"
}
};
app.GetToken();
All the functions output are boolean, if the result is true then the function succeeded otherwize it failed, in this case it will through an exception.