/// <summary>
        /// Gets the multiselect files.
        /// </summary>
        /// <param name="charBuffer">The char buffer.</param>
        /// <returns></returns>
        private string[] GetMultiselectFiles(NativeMethods.CharBuffer charBuffer)
        {
            string text1 = charBuffer.GetString();
            string text2 = charBuffer.GetString();

            if (text2.Length == 0)
            {
                return(new string[] { text1 });
            }
            if (text1[text1.Length - 1] != '\\')
            {
                text1 = text1 + @"\";
            }
            ArrayList list1 = new ArrayList();

            while (true)
            {
                if ((text2[0] != '\\') && (((text2.Length <= 3) || (text2[1] != ':')) || (text2[2] != '\\')))
                {
                    text2 = text1 + text2;
                }
                list1.Add(text2);
                text2 = charBuffer.GetString();
                if (text2.Length <= 0)
                {
                    string[] textArray1 = new string[list1.Count];
                    list1.CopyTo(textArray1, 0);
                    return(textArray1);
                }
            }
        }