IdeaBlade DevForce 2010 Help Reference
PingServer(String) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > HttpFns Class > PingServer Method : PingServer(String) Method



url
URL to ping
Determine if the server exists and is responding.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function PingServer( _
   ByVal url As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim url As String
Dim value As Boolean
 
value = HttpFns.PingServer(url)
C# 
public static bool PingServer( 
   string url
)
C++/CLI 
public:
static bool PingServer( 
   String^ url
) 

Parameters

url
URL to ping

Remarks

A timeout value of 100 seconds is used when pinging the server.

False is returned if the server request failed due to a timeout or DNS failure; true is returned otherwise.

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

© 2013 All Rights Reserved.