private async UniTaskVoid V() { ClientCore.Start(); ClientCore.SendMessageToMyCoreNode(MsgType.Enhanced, null); var c = await ClientCore.ReceiveCertification(); Debugger.Log(c); }
private async UniTaskVoid Verify() { ClientCore.Start(); ClientCore.SendMessageToMyCoreNode(MsgType.Enhanced, verifierManager.CertificateId); var certification = await ClientCore.ReceiveCertification(); verifierManager.SetCertification(certification); var hash = Hash.GetHash(verifierManager.CertificateId + verifierManager.HolderName + verifierManager.IssueDate); if (hash != verifierManager.Hash) { NotificationSystem.ShowDialog("エラー", "IDが違います", "ok"); } }