/// <summary>
        /// Method to expect a TSMM_PRESENTATION_RESPONSE from client.
        /// </summary>
        /// <param name="presentationId">The expected presentation Id.</param>
        public void ExpectPresentationiResponse(byte presentationId)
        {
            DateTime beginTime = DateTime.Now;
            DateTime endTime   = beginTime + waitTime;
            TSMM_PRESENTATION_RESPONSE response = null;

            while (response == null && DateTime.Now < endTime)
            {
                System.Threading.Thread.Sleep(100);
                response = rdpevorServer.ExpectRdpevorPdu <TSMM_PRESENTATION_RESPONSE>(waitTime);
                if (response != null && response.PresentatioinId != presentationId)
                {
                    response = null;
                }
            }
            Site.Assert.IsTrue(response != null, "TSMM_PRESENTATION_RESPONSE received.");
        }