void JD_OnNewClientSeed(SeedInfo SeedInfo) { VisibleControll(pnlRandomize, true); UpdateTextBox(txtRandomizeNewHash, SeedInfo.NewServerHash); UpdateTextBox(txtHash, SeedInfo.NewServerHash); UpdateTextBox(txtRandomizeOld, SeedInfo.OldServerSeed); UpdateTextBox(txtRandomizeOldClient, SeedInfo.OldClientSeed); UpdateTextBox(txtRandomizeOldHash, SeedInfo.OldServerHash); UpdateTextBox(txtRandomizeOldNonce, SeedInfo.TotalRolls); string s = ""; for (int i = 0; i < 24; i++ ) { s += RandObj.Next(0, 9).ToString(); } UpdateTextBox(txtRandomizenewClient, s); }
void Instance_OnNewClientSeed(SeedInfo SeedInfo) { sqlite_helper.InsertSeed(SeedInfo.OldServerSeed.ToString(), SeedInfo.OldServerSeed.ToString()); }