public static bool VdirExists(HttpClient client, string vdirUri) { HttpResponseMessage responseMessage = client.GetAsync(vdirUri).Result; return(Globals.Success(responseMessage)); }
private static bool SiteExists(HttpClient client, string siteUri) { HttpResponseMessage responseMessage = client.GetAsync(siteUri).Result; return(Globals.Success(responseMessage)); }
public static bool TestApplicationExists(HttpClient client, string applicationUri) { HttpResponseMessage responseMessage = client.GetAsync(applicationUri).Result; return(Globals.Success(responseMessage)); }