UtilWebIsUrlStatusCodeSucessful(String) Method
Sends a GET request to the specified url
and returns a value that indicates whether the http status code of the server response was successful.
A response is considered successful if http status code is in range of 200-299.
To determine whether the specified url is available / online, call
IsUrlAvailable(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 IsUrlStatusCodeSucessful(
string url
)
Public Shared Function IsUrlStatusCodeSucessful (
url As String
) As Boolean
Dim url As String
Dim returnValue As Boolean
returnValue = UtilWeb.IsUrlStatusCodeSucessful(url)
public:
static bool IsUrlStatusCodeSucessful(
String^ url
)
static member IsUrlStatusCodeSucessful :
url : string -> bool
No code example is currently available or this language may not be supported.
- url String
-
The url.
Boolean if the http status code of the server response was successful,
otherwise.
A response is considered successful if http status code is in range of 200-299.