public void LoadDetectionInfo(DetectionInfo detectionInfo)
        {
            this.info = detectionInfo;

            // Add protocolItems
            AddResultItem(ref protocolItems, "MS-RDPBCGR", true);
            AddResultItem(ref protocolItems, "MS-RDPEDISP", detectionInfo.IsSupportRDPEDISP);
            AddResultItem(ref protocolItems, "MS-RDPEGFX", detectionInfo.IsSupportRDPEGFX);
            AddResultItem(ref protocolItems, "MS-RDPEI", detectionInfo.IsSupportRDPEI);
            AddResultItem(ref protocolItems, "MS-RDPEMT", detectionInfo.IsSupportRDPEMT);
            AddResultItem(ref protocolItems, "MS-RDPEUDP", detectionInfo.IsSupportRDPEUDP);
            AddResultItem(ref protocolItems, "MS-RDPEUSB", detectionInfo.IsSupportRDPEUSB);
            AddResultItem(ref protocolItems, "MS-RDPEVOR", detectionInfo.IsSupportRDPEVOR);
            AddResultItem(ref protocolItems, "MS-RDPRFX", detectionInfo.IsSupportRDPRFX);
            AddResultItem(ref protocolItems, "MS-RDPEFS (Used to test static virtual channel)", detectionInfo.IsSupportRDPEFS);

            // Add featuresItems

            AddResultItem(ref featureItems, "Auto Reconnect", detectionInfo.IsSupportAutoReconnect);
            AddResultItem(ref featureItems, "Server Redirection", detectionInfo.IsSupportServerRedirection);
            AddResultItem(ref featureItems, "Network Characteristics Detection", detectionInfo.IsSupportNetcharAutoDetect);

            AddResultItem(ref featureItems, "Connection Health Monitoring", detectionInfo.IsSupportHeartbeatPdu);
            AddResultItem(ref featureItems, "Static Virtual Channels", detectionInfo.IsSupportStaticVirtualChannel);
            AddResultItem(ref featureItems, "RDP-UDP Forward Error Correction reliable transport", detectionInfo.IsSupportTransportTypeUdpFECR);
            AddResultItem(ref featureItems, "RDP-UDP Forward Error Correction lossy transport", detectionInfo.IsSupportTransportTypeUdpFECL);
            this.resultItemMapList.Add(protocolItems);
            this.resultItemMapList.Add(featureItems);
            ResultMapList.ItemsSource = resultItemMapList;
        }
Exemplo n.º 2
0
        public RDPDetector(DetectionInfo detectInfo, DetectLogger logger)
        {
            this.detectInfo = detectInfo;
            this.logWriter  = logger;

            string rdpClientRoute = Path.Combine("..", "etc", "RDP-Client");

            SUTControlScriptLocation = Path.Combine(rdpClientRoute, "SUTControlAdapter");

            SUTShellControlScriptLocation = Path.Combine(rdpClientRoute, "ShellSUTControlAdapter");
        }
 public RDPDetector(DetectionInfo detectInfo)
 {
     this.detectInfo = detectInfo;
 }