Returns the IIS version for the given Operating System. Note this routine doesn't check to see if IIS is installed it just returns the version of IIS that should run on the OS.

Returns the value from Request.ServerVariables["Server_Software"] if available. Otherwise uses OS sniffing to determine OS version and returns IIS version instead.