コード例 #1
0
 private void AlljoynBusAttachment_AuthenticationComplete(AllJoynBusAttachment sender, AllJoynAuthenticationCompleteEventArgs args)
 {
     if (args.Succeeded)
     {
         UpdateStatusAsync("Authentication was successful.", NotifyType.StatusMessage);
     }
     else
     {
         UpdateStatusAsync("Authentication failed.", NotifyType.ErrorMessage);
     }
 }
コード例 #2
0
        private void BusAttachment_AuthenticationComplete(AllJoynBusAttachment sender, AllJoynAuthenticationCompleteEventArgs args)
        {
            if (args.Succeeded)
            {
                UpdateStatusAsync("Authentication was successful.", NotifyType.StatusMessage);
            }
            else
            {
                UpdateStatusAsync("Authentication failed.", NotifyType.ErrorMessage);
            }

            m_isAuthenticated = args.Succeeded;
            EnteredKey = "";
            AuthenticationVisibility = Visibility.Collapsed;
        }
コード例 #3
0
 private void AlljoynBusAttachment_AuthenticationComplete(AllJoynBusAttachment sender, AllJoynAuthenticationCompleteEventArgs args)
 {
     if (args.Succeeded)
     {
         UpdateStatusAsync("Authentication was successful.", NotifyType.StatusMessage);
     }
     else
     {
         UpdateStatusAsync("Authentication failed.", NotifyType.ErrorMessage);
     }
 }
コード例 #4
0
 private void AuthenticationComplete(AllJoynBusAttachment sender, AllJoynAuthenticationCompleteEventArgs args)
 {
 }
コード例 #5
0
        private void BusAttachment_AuthenticationComplete(AllJoynBusAttachment sender, AllJoynAuthenticationCompleteEventArgs args)
        {
            if (args.Succeeded)
            {
                UpdateStatusAsync("Authentication was successful.", NotifyType.StatusMessage);
            }
            else
            {
                UpdateStatusAsync("Authentication failed.", NotifyType.ErrorMessage);
            }

            EnteredKey = "";
            AuthenticationVisibility = Visibility.Collapsed;
        }