We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var serviceCollection = new ServiceCollection(); // Добавьте сконфигурированный HttpClient в ServiceCollection как Singleton serviceCollection.AddSingleton(provider => { var httpClientHandler = new HttpClientHandler { Proxy = new WebProxy("127.0.0.1", 8888) }; return new HttpClient(httpClientHandler); }); // Передайте в конструктор VkApi serviceCollection var vkApi = new VkApi(serviceCollection);