UtilWebIsUrlAvailable(String) Method
Pings the specified url to determine whether it is available / online.
To get the http status code of the server response, call
GetUrlStatusCode(String) function.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool IsUrlAvailable(
string url
)
Public Shared Function IsUrlAvailable (
url As String
) As Boolean
Dim url As String
Dim returnValue As Boolean
returnValue = UtilWeb.IsUrlAvailable(url)
public:
static bool IsUrlAvailable(
String^ url
)
static member IsUrlAvailable :
url : string -> bool
No code example is currently available or this language may not be supported.
- url String
-
The url.
Boolean if the specified url is available to connect,
otherwise.