Esempio n. 1
0
        private void ParseBody()
        {
            Match bodyMatch = ResponseParser.Match(m_FullEulaBody);

            if (bodyMatch.Success)
            {
                m_EulaText             = bodyMatch.Groups["eula"].Value;
                m_AcceptTextKey        = bodyMatch.Groups["a_txt"].Value;
                m_AcceptCmdKey         = bodyMatch.Groups["a_cmd"].Value;
                m_DeclineTextKey       = bodyMatch.Groups["d_txt"].Value;
                m_DeclineCmdKey        = bodyMatch.Groups["d_cmd"].Value;
                m_TitleKey             = bodyMatch.Groups["title"].Value;
                m_ButtonDescriptionKey = bodyMatch.Groups["buttondesc"].Value;
            }
            else
            {
                //TODO Throw Invalid Key Body Exception Here;
            }
        }