void getTrialLicenseButton_Click(object sender, EventArgs e)
{
string baseUrl;
if (CurrentLicense != null && !CurrentLicense.IsExtendedTrial)
{
// Original 14 day trial expired, give the user a chance to extend trial
baseUrl = "https://particular.net/extend-nservicebus-trial";
}
else
{
// Extended trial license expired, ask the user to Contact Sales
baseUrl = "https://particular.net/extend-your-trial-45";
}
var trialStart = TrialStartDateStore.GetTrialStartDate().ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
var url = $"{baseUrl}?NugetUser={IsNugetUser()}&PlatformInstaller={HasUserInstalledPlatform()}&TrialStartDate={trialStart}";
// Open the url with the querystrings
Process.Start(url);
}