User-474980206 posted
the most common approach is to set the environment variable no_proxy to the bypass list, so its:
var bypassList = Environment.GetEnvironmentVariable("no_proxy");
note: in linux proxy settings are a feature of the desktop application you are using, there is no standard os setting. check the documentation of the desktop environment you are using to see what is used. the standard environment variable names are:
http_proxy
https_proxy
ftp_proxy
no_proxy
if the desktop does not set this by default, just add the setting to default environment.