This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the (local) IIS version.

Namespace: Smartsite.Base
Assembly:  Smartsite.Base (in Smartsite.Base.dll)

Syntax

C#Copy imageCopy Code
public static int GetIISVersion()
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Function GetIISVersion As Integer

Return Value

The major version of IIS (or 0 if IIS is not installed).

See Also

General Class
Smartsite.Base Namespace
Advanced