How to use SetProxyExclusions in 7.7.5?

  • Автор темы Автор темы David_Z
  • Дата начала Дата начала

David_Z

Client
Регистрация
01.06.2022
Сообщения
42
Реакции
46
Баллы
18
I found that there's this new feature in 7.7.5.0

Added the ability to allow the execution of selected sites or requests without a proxy in the Chromium browser. Added the Instance.SetProxyExclusions(IEnumerable<string> exclusions) method to the API and the Exclusions property to the ProxySettings class used in the Instance.SetProxy(ProxySettings proxySettings, NetworkSettings networkSettings) method.

Can i use this function to exclude all js files loading via proxy?
i need an example, thanks
 
@VladZen need help plz

I tried this but the IP changed to the proxy IP.
111792


it works only when i use this code:

C#:
Развернуть Свернуть Копировать
var exclusions = new List<string>
        {
            "https://api.ipify.org/",
        };
instance.SetProxyExclusions(exclusions);

I should type the whole URL
 
Последнее редактирование:

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)