public static async void CheckLicense() { LicenseUpdateManager1 = new LicenseUpdateManager("http://license.botoverwatch.com/license.php", "Simple Pixel Clicker", "1.0.0.0"); await LicenseCheck(); await UpdateCheck(); }
public static async Task <bool> CheckLicense(string username, string password) { LicenseUpdateManager1 = new LicenseUpdateManager("http://license.botoverwatch.com/licensepay.php", "Simple Pixel Clicker", "1.0.0.0"); LicenseUpdateManager1.username = username; LicenseUpdateManager1.password = password; await LicenseCheck(); await UpdateCheck(); return(true); }