ESRI.ArcGIS.ADF.Web
IsFileSystemWebSite Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web Namespace > Utility Class : IsFileSystemWebSite Method




Indicates whether the passed in page belongs to a file sytem web site.

Syntax

Visual Basic (Declaration) 
Public Shared Function IsFileSystemWebSite() As Boolean
Visual Basic (Usage)Copy Code
Dim value As Boolean
 
value = Utility.IsFileSystemWebSite()
C# 
public static bool IsFileSystemWebSite()

Return Value

True for file system web sites. False for IIS web sites.

Remarks

At design time, this method uses Visual Studio's project properties to get this information. At run time, it uses the server variable "SERVER_SOFTWARE" from the current request. If this variable is changed by the user to protect info on the type of server from hackers, the return value from this method will not be reliable.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.