/// <summary>
        /// Initialize this protocol with create control and data channels.
        /// </summary>
        /// <param name="rdpedycServer">RDPEDYC Server instance</param>
        /// <param name="transportType">selected transport type for created channels</param>
        /// <returns>true if client supports this protocol; otherwise, return false.</returns>
        public bool ProtocolInitialize(RdpedycServer rdpedycServer, DynamicVC_TransportType transportType = DynamicVC_TransportType.RDP_TCP)
        {
            if (!rdpedycServer.IsMultipleTransportCreated(transportType))
            {
                rdpedycServer.CreateMultipleTransport(transportType);
            }

            this.rdpevorServer = new RdpevorServer(rdpedycServer);
            bool success = false;

            //Create control virtual channel.
            try
            {
                success = rdpevorServer.CreateRdpevorDvc(waitTime, transportType);
            }
            catch (Exception e)
            {
                Site.Log.Add(LogEntryKind.Comment, "Exception occurred when creating RDPEVOR channels: {1}", e.Message);
            }

            return(success);
        }
 public override void Reset()
 {
     base.Reset();
     rdpevorServer = null;
     testType = RdpevorNegativeType.None;
 }
        /// <summary>
        /// Initialize this protocol with create control and data channels.
        /// </summary>
        /// <param name="rdpedycServer">RDPEDYC Server instance</param>
        /// <param name="transportType">selected transport type for created channels</param>
        /// <returns>true if client supports this protocol; otherwise, return false.</returns>
        public bool ProtocolInitialize(RdpedycServer rdpedycServer, DynamicVC_TransportType transportType = DynamicVC_TransportType.RDP_TCP)
        {
            if (!rdpedycServer.IsMultipleTransportCreated(transportType))
            {
                rdpedycServer.CreateMultipleTransport(transportType);
            }

            this.rdpevorServer = new RdpevorServer(rdpedycServer);
            bool success = false;
            //Create control virtual channel.
            try
            {
                success = rdpevorServer.CreateRdpevorDvc(waitTime, transportType);
            }
            catch(Exception e)
            {
                Site.Log.Add(LogEntryKind.Comment, "Exception occurred when creating RDPEVOR channels: {1}", e.Message);
            }

            return success;
        }
 public override void Reset()
 {
     base.Reset();
     rdpevorServer = null;
     testType      = RdpevorNegativeType.None;
 }