Execute() public method

public Execute ( IEnumerable acceptedKbs, string returnVar ) : bool
acceptedKbs IEnumerable
returnVar string
return bool
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }