You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the getting started, api-key and pertner-key must be stored in "Configuration.Default.ApiKey" dictionary; in this way the kays are shared to all library.
In my case i need use the library in large shared service with hundreds of Brevo connections. You will understand that I cannot use shared keys throughout the library but each connection requires its own keys. I need something like that:
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class Example
{
public void main()
{
var apiInstance = new AccountApi(api-key, partner-key);
try
{
// Get your account information, plan and credits details
GetAccount result = apiInstance.GetAccount();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.GetAccount: " + e.Message );
}
}
}
}
Is this possible? Or if i fork the project you will accept the update?
The text was updated successfully, but these errors were encountered:
Please merge the pull request. Singletons are not a good solution in multithreaded applications, especially when they offer direct write access to a list.
According to the getting started, api-key and pertner-key must be stored in "Configuration.Default.ApiKey" dictionary; in this way the kays are shared to all library.
In my case i need use the library in large shared service with hundreds of Brevo connections. You will understand that I cannot use shared keys throughout the library but each connection requires its own keys. I need something like that:
Is this possible? Or if i fork the project you will accept the update?
The text was updated successfully, but these errors were encountered: