예제 #1
0
        public static bool VdirExists(HttpClient client, string vdirUri)
        {
            HttpResponseMessage responseMessage = client.GetAsync(vdirUri).Result;

            return(Globals.Success(responseMessage));
        }
예제 #2
0
        private static bool SiteExists(HttpClient client, string siteUri)
        {
            HttpResponseMessage responseMessage = client.GetAsync(siteUri).Result;

            return(Globals.Success(responseMessage));
        }
예제 #3
0
        public static bool TestApplicationExists(HttpClient client, string applicationUri)
        {
            HttpResponseMessage responseMessage = client.GetAsync(applicationUri).Result;

            return(Globals.Success(responseMessage));
        }