UtilWebIsUrlAvailable(Uri) 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(
Uri url
)
Public Shared Function IsUrlAvailable (
url As Uri
) As Boolean
Dim url As Uri
Dim returnValue As Boolean
returnValue = UtilWeb.IsUrlAvailable(url)
public:
static bool IsUrlAvailable(
Uri^ url
)
static member IsUrlAvailable :
url : Uri -> bool
No code example is currently available or this language may not be supported.
- url Uri
-
The url.
Boolean if the specified url is available to connect,
otherwise.