Execute() публичный Метод

public Execute ( IEnumerable acceptedKbs, string returnVar ) : bool
acceptedKbs IEnumerable
returnVar string
Результат bool
Пример #1
0
 public static ActionResult IsRdpDtlsUpdateInstalled(Session session)
 {
     var kb = session["RDP_DTLS_KB"];
     var returnVar = "RDP_DTLS_UPDATE_INSTALLED";
     var kbInstalledChecker = new KbInstalledChecker(session);
     kbInstalledChecker.Execute(kb, returnVar);
     return ActionResult.Success;
 }
Пример #2
0
 public static ActionResult IsMinimumRdpVersionInstalled(Session session)
 {
     var acceptedRdpKbVariables = new[] { session["RDP80_KB"], session["RDP81_KB"] };
     var returnVariable = "MINIMUM_RDP_VERSION_INSTALLED";
     var kbInstalledChecker = new KbInstalledChecker(session);
     kbInstalledChecker.Execute(acceptedRdpKbVariables, returnVariable);
     return ActionResult.Success;
 }
Пример #3
0
        public static ActionResult IsMinimumRdpVersionInstalled(Session session)
        {
            var acceptedRdpKbVariables = new[] { session["RDP80_KB"], session["RDP81_KB"] };
            var returnVariable         = "MINIMUM_RDP_VERSION_INSTALLED";
            var kbInstalledChecker     = new KbInstalledChecker(session);

            kbInstalledChecker.Execute(acceptedRdpKbVariables, returnVariable);
            return(ActionResult.Success);
        }
Пример #4
0
        public static ActionResult IsRdpDtlsUpdateInstalled(Session session)
        {
            var kb                 = session["RDP_DTLS_KB"];
            var returnVar          = "RDP_DTLS_UPDATE_INSTALLED";
            var kbInstalledChecker = new KbInstalledChecker(session);

            kbInstalledChecker.Execute(kb, returnVar);
            return(ActionResult.Success);
        }