private void AddResultItem(ref ResultItemMap resultItemMap, string value, bool?result)
        {
            string       imagePath    = string.Empty;
            DetectResult detectResult = new DetectResult();

            switch (result)
            {
            case true:
                imagePath    = "/RDPClientPlugin;component/Icons/supported.png";;
                detectResult = DetectResult.Supported;
                break;

            case false:
                imagePath    = "/RDPClientPlugin;component/Icons/unsupported.png";
                detectResult = DetectResult.UnSupported;
                break;

            case null:
                imagePath    = "/RDPClientPlugin;component/Icons/undetected.png";
                detectResult = DetectResult.DetectFail;
                break;

            default:
                break;
            }

            ResultItem item = new ResultItem()
            {
                DetectedResult = detectResult, ImageUrl = imagePath, Name = value
            };

            resultItemMap.ResultItemList.Add(item);
        }
        private void AddResultItem(ref ResultItemMap resultItemMap, string value, bool?result)
        {
            DetectResult detectResult = new DetectResult();

            switch (result)
            {
            case true:
                detectResult = DetectResult.Supported;
                break;

            case false:
                detectResult = DetectResult.UnSupported;
                break;

            case null:
                detectResult = DetectResult.DetectFail;
                break;

            default:
                break;
            }

            ResultItem item = new ResultItem()
            {
                DetectedResult = detectResult, Name = value
            };

            resultItemMap.ResultItemList.Add(item);
        }