OfficialPlugins.FrbUpdater.UpdateWindow.IsMonthValid C# (CSharp) Method

IsMonthValid() private method

private IsMonthValid ( System.DateTime date ) : bool
date System.DateTime
return bool
        private bool IsMonthValid(DateTime date)
        {
            const string path = "http://www.flatredball.com/content/FrbXnaTemplates/";

            try
            {
                //This Month
                var curPath = path + date.ToString("yyyy") + "/" + date.ToString("MMMM") + "/FlatRedBallInstaller.exe";
                var url = new Uri(curPath);
                var request = (HttpWebRequest)WebRequest.Create(url);
                var response = (HttpWebResponse)request.GetResponse();
                response.Close();

                return true;
            }
            catch (Exception)
            {
                return false;
            }
        }