public UpdateInformationResult2 DownloadUpdate2(
        UpdateCheckInfo2 info)
    {
        try
        {
            CheckThrowApiKey(info.ApiKey);

            LogCentral.Current.LogInfo(
                string.Format(
                    @"Downloading Update for client with version '{0}', date '{1}'.",
                    info.VersionNumber,
                    info.VersionDate));

            var avail = IsUpdateAvailable2(info);

            var result =
                new UpdateInformationResult2
            {
                IsPresent = avail.IsPresent,
                AlternativeFallbackDownloadUrl = avail.DownloadWebsiteUrl,
                FileName    = @"ZetaResourceEditor-setup.exe",
                FileContent = File.ReadAllBytes(getSetupExeFilePath())
            };

            return(result);
        }
        catch (Exception x)
        {
            LogCentral.Current.LogError(@"Error downloading update .", x);
            throw;
        }
    }
	public UpdateInformationResult2 DownloadUpdate2(
		UpdateCheckInfo2 info)
	{
		try
		{
			CheckThrowApiKey(info.ApiKey);

			LogCentral.Current.LogInfo(
				string.Format(
					@"Downloading Update for client with version '{0}', date '{1}'.",
					info.VersionNumber,
					info.VersionDate));

			var avail = IsUpdateAvailable2(info);

			var result =
				new UpdateInformationResult2
					{
						IsPresent = avail.IsPresent,
						AlternativeFallbackDownloadUrl = avail.DownloadWebsiteUrl,
						FileName = @"ZetaResourceEditor-setup.exe",
						FileContent = File.ReadAllBytes(getSetupExeFilePath())
					};

			return result;
		}
		catch (Exception x)
		{
			LogCentral.Current.LogError(@"Error downloading update .", x);
			throw;
		}
	}