reading com/iis settings values using c#

  • Thread starter Thread starter Aniket Sule
  • Start date Start date
A

Aniket Sule

Hi,
Is there a way to read Component Services /IIS settings values using c# ? I
am specifically interested in the COM Transaction timeout value and the IIS
connection timeout value. Are these in any Registry keys or config files
that I can read ?

Thanks in advance
Aniket
 
Hi Aniket:

Both IIS and COM+ settings are readable and writable through a set of
COM objects.

For the COM+ catalog these are the COMAdmin objects:
http://msdn.microsoft.com/library/d...y/en-us/cossdk/htm/pgautomatingadmin_4ylj.asp

In Visual Studio you'll want to select Add Reference and go to the COM
tab. Find the COM+ 1.0 Admin Type Library (comadmin.dll).

For IIS you can use classes in System.DirectoryServices:
http://msdn.microsoft.com/library/d...ctoryservices_to_configure_iis.asp?frame=true

HTH,
 
Thanks. This is what i was looking for

Scott Allen said:
Hi Aniket:

Both IIS and COM+ settings are readable and writable through a set of
COM objects.

For the COM+ catalog these are the COMAdmin objects:
http://msdn.microsoft.com/library/d...y/en-us/cossdk/htm/pgautomatingadmin_4ylj.asp

In Visual Studio you'll want to select Add Reference and go to the COM
tab. Find the COM+ 1.0 Admin Type Library (comadmin.dll).

For IIS you can use classes in System.DirectoryServices:
http://msdn.microsoft.com/library/d...ctoryservices_to_configure_iis.asp?frame=true

HTH,
 
Back
Top