Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I automatically detect proxy settings from system service

My program is running by system service and it should use the proxy settings, the problem they set for the users. Anyone have an idea?

like image 479
Beygale Ham Avatar asked Nov 12 '22 16:11

Beygale Ham


1 Answers

Use

WebRequest.GetSystemWebProxy();

and here is a link: MSDN

like image 172
Nour Avatar answered Nov 23 '22 06:11

Nour