mercredi 21 septembre 2011

Figuring out the IIS Version for a given OS in .NET Code

« Here's an odd requirement: I need to figure out what version of IIS is available on a given machine in order to take specific configuration actions when installing an IIS based application. I build several configuration tools for application configuration and installation and depending on which version of IIS is available on IIS different configuration paths are taken. For example, when dealing with XP machine you can't set up an Application Pool for an application because XP (IIS 5.1) didn't support Application pools. Configuring 32 and 64 bit settings are easy in IIS 7 but this didn't work in prior versions and so on. »

 

Read More :  http://www.west-wind.com/weblog/posts/2011/Sep/18/Figuring-out-the-IIS-Version-for-a-given-OS-in-NET-Code

 

Aucun commentaire:

Publier un commentaire