예제 #1
0
        public void TestUserConsentVerifier()
        {
            var operation = UserConsentVerifierInterop.RequestVerificationForWindowAsync(new IntPtr(0), "message");

            Assert.NotNull(operation);
        }
예제 #2
0
 private async void Button1_Click(object sender, EventArgs e)
 {
     await UserConsentVerifierInterop.RequestVerificationForWindowAsync(this.Handle, "Enter PIN for me:");
 }
 private async void button2_Click(object sender, EventArgs e)
 {
     await UserConsentVerifierInterop.RequestVerificationForWindowAsync(this.Handle, "Are you okay with that?!");
 }