[Mono-dev] Environment.GetEnvironmentVariable() not working in Linux ASP.NET app
test051102 at hotmail.com
Thu Nov 3 09:12:09 EDT 2011
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 at lists.ximian.com
> From: robertj at 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.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list