/// <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.rdpedispServer = new RdpedispServer(rdpedycServer);
            bool success = false;

            try
            {
                success = rdpedispServer.CreateRdpedispDvc(waitTime, transportType);
            }
            catch (Exception e)
            {
                Site.Log.Add(LogEntryKind.Comment, "Exception occurred when creating RDPEDISP channels: {1}", e.Message);
            }
            return(success);
        }
 /// <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.rdpedispServer = new RdpedispServer(rdpedycServer);
     bool success = false;
     try
     {
         success = rdpedispServer.CreateRdpedispDvc(waitTime, transportType);
     }
     catch (Exception e)
     {
         Site.Log.Add(LogEntryKind.Comment, "Exception occurred when creating RDPEDISP channels: {1}", e.Message);
     }
     return success;
 }