Okay, I take it back, you can't do what I just said, but what you can do:

System.Web.ProcessModelInfo.GetCurrentProcessInfo() and use the class
returned from that to get the info you need.

Adam..

-----Original Message-----
From: Sills, Adam [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] ASP.NET: programmatically reading machine.config set
tings


I might have missed if someone already answered this, but you can do using
System.Configuration;

NameValueCollection config = (NameValueCollection) =
ConfigurationSettings.GetConfig("System.Web/processModel");

Then get the values you need.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to