public static bool IsScreen(DisplaySession DisplaySession)
 {
     StrseuScreen.ExitScreen dms =
         new StrseuScreen.ExitScreen(DisplaySession.GetPresentationSpace());
     if (dms.IsScreen() == true)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
            public static void Enter(EhllapiSettings Settings)
            {
                using (DisplaySession sess = new DisplaySession())
                {
                    sess.Connect(Settings.SessId);

                    StrseuScreen.ExitScreen dms =
                        new StrseuScreen.ExitScreen(sess.GetPresentationSpace());
                    if (dms.IsScreen() == false)
                    {
                        throw new ApplicationException("not at STRSEU Exit screen.");
                    }

                    dms.Enter(sess);
                }
            }