private void AlljoynBusAttachment_AuthenticationComplete(AllJoynBusAttachment sender, AllJoynAuthenticationCompleteEventArgs args) { if (args.Succeeded) { UpdateStatusAsync("Authentication was successful.", NotifyType.StatusMessage); } else { UpdateStatusAsync("Authentication failed.", NotifyType.ErrorMessage); } }
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; }
private void AuthenticationComplete(AllJoynBusAttachment sender, AllJoynAuthenticationCompleteEventArgs args) { }
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; }