See:
http://msdn.microsoft.com/library/d...ystemreflectionassemblyclasslocationtopic.asp
You could try to pass the name of a.NET assembly
to System.Reflection.Assembly.Location, and
concatenate "/config/machine.config" to the path returned.
In .NET 2.0, you can do a few things, natively, with that info.
In .NET 1.x you can't do anything, natively, with that info,
although you could manipulate the file, something I'd be very
wary about doing, since a screw-up will cost you a lot.
You should create web.config entries which override any
machine-wide settings you want changed, if that's your goal.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================