Hi Robert,

thanks for your hints.

The link sent describes how environment variables can be set up in Ubuntu. Of 
course, nobody would try to manually set up environment variables when trying 
to configure proxies. This is done by using System>Settings>Network Proxy. 
After that, Ubuntu sets up the necessary environment variables. In case of the 
no_proxy environment variable this can be tested by issuing "echo $no_proxy" on 
the command line.

My question is not about setting up environment variables. I need to retrieve 
the content of $no_proxy via C# in an ASP.NET app.



> To: mono-devel-list@lists.ximian.com
> From: robe...@gmx.net
> Date: Thu, 3 Nov 2011 13:58:50 +0100
> Subject: Re: [Mono-dev] Environment.GetEnvironmentVariable() not working in 
> Linux ASP.NET app
> 
> On 03.11.2011 13:51, H . wrote:
> >
> > Environment.GetEnvironmentVariable("no_proxy") not working in Linux
> > ASP.NET app
> >
> > After configuring proxies in Ubuntu, the environment variable
> > no_proxy contains the list of proxies to bypass. Using
> > Environment.GetEnvironmentVariable("no_proxy") we can retrieve the
> > content of this environment variable as a string. This is working
> > fine in standard C# applications.
> 
> See 
> https://help.ubuntu.com/community/EnvironmentVariables#System-wide_environment_variables
> 
> Robert
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
                                          
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to