Neos.IdentityServer 3.0/Neos.IdentityServer.Common/Neos.IdentityServer.MultiFactor.Utilities.cs
/// <summary>
/// PushNotification method implementation
/// Push local notification
/// </summary>
PushNotification method implementation
Push local notification
PushNotification method implementation Push local notification
internal static void PushNotification(NotificationsKind kind, string message)
        {
            using (MailSlotClient mailslot = new MailSlotClient())
            {
                if (string.IsNullOrEmpty(message))
                    mailslot.Text = Environment.MachineName;
                else
                    mailslot.Text = message;
                mailslot.SendNotification(kind);
            }
        }
internal static void PushNotification ( NotificationsKind kind , string message ) { using ( MailSlotClient mailslot = new MailSlotClient ( ) ) { if ( string . IsNullOrEmpty ( message ) ) mailslot . Text = Environment . MachineName ; else mailslot . Text = message ; mailslot . SendNotification ( kind ) ; } }
PushNotification method implementation
Push local notification
PushNotification method implementation Push local notification
kind
NotificationsKind
message
string