コード例 #1
0
ファイル: License.cs プロジェクト: Karrazyne/PixelClicker
 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();
 }
コード例 #2
0
        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);
        }