Blog.Web.Site.Controllers.HomeController.IsBlogSocketsAvailable C# (CSharp) Method

IsBlogSocketsAvailable() private method

private IsBlogSocketsAvailable ( ) : bool
return bool
        private bool IsBlogSocketsAvailable()
        {
            try
            {
                var result = _httpClientHelper.HttpGet(_configurationHelper.GetAppSettings("BlogSockets"),
                    "favicon.ico");

                return result.StatusCode != HttpStatusCode.ServiceUnavailable;
            }
            catch
            {
                return false;
            }
        }
    }