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;
}
}