UtilWebGetUrlStatusCode(String) Method
Sends a GET request to the specified url and returns the http status code of the server response.
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 HttpStatusCode GetUrlStatusCode(
string url
)
Public Shared Function GetUrlStatusCode (
url As String
) As HttpStatusCode
Dim url As String
Dim returnValue As HttpStatusCode
returnValue = UtilWeb.GetUrlStatusCode(url)
public:
static HttpStatusCode GetUrlStatusCode(
String^ url
)
static member GetUrlStatusCode :
url : string -> HttpStatusCode
No code example is currently available or this language may not be supported.
- url String
-
The url.
HttpStatusCode
The resulting http status code.