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
{{ message }}
This repository was archived by the owner on May 14, 2021. It is now read-only.
Hi,
I'm trying to create an app that use this api, but when i try to create a new client the program crash and tell me "System.ArgumentNullException: 'Value cannot be null.
Parameter name: path1"
This is the code that I used:
var settings = new FactorySettings
{
AppHash = "0f5b4xxxxxxxxxxxxxxxca4d4",
AppId = 1xxxxxx8,
ServerAddress = "149.154.167.40",
ServerPublicKey = @"-----BEGIN RSA PUBLIC KEY-----
.
.
.
-----END PUBLIC KEY-----",
ServerPort = 443,
SessionTag = "session", // by defaut
Properties = new ApplicationProperties
{
AppVersion = "1.0.0", // You can leave as in the example
DeviceModel = "PC", // You can leave as in the example
LangCode = "en", // You can leave as in the example
LangPack = "tdesktop", // You can leave as in the example
SystemLangCode = "en", // You can leave as in the example
SystemVersion = "Win 10 Pro" // You can leave as in the example
}
};
// Create the client
var clientApi = await ClientFactory.BuildClientAsync(settings).ConfigureAwait(true);
I don't know from where this path1 came from, and how to fix it.