Исходный код вики Настройка Proxy для http клиента
Версия 3.1 от Alexandr Fokin на 2021/12/02 19:19
Последние авторы
| author | version | line-number | content |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | {{code language="c#"}} | ||
| 5 | IWebProxy proxy = WebRequest.GetSystemWebProxy(); | ||
| 6 | proxy.Credentials = CredentialCache.DefaultCredentials; | ||
| 7 | {{/code}} | ||
| 8 | |||
| 9 | |||
| 10 | Ссылки: | ||
| 11 | |||
| 12 | How should I set the default proxy to use default credentials? | ||
| 13 | https://stackoverflow.com/questions/299940/how-should-i-set-the-default-proxy-to-use-default-credentials | ||
| 14 |