public override StackPacket Clone()
{
Virtual_Channel_Complete_Server_Pdu pduClone = new Virtual_Channel_Complete_Server_Pdu();
pduClone.channelId = channelId;
pduClone.virtualChannelData = RdpbcgrUtility.CloneByteArray(virtualChannelData);
if (rawPdus != null)
{
pduClone.rawPdus = new Collection<Virtual_Channel_RAW_Server_Pdu>();
for (int i = 0; i < rawPdus.Count; ++i)
{
pduClone.rawPdus.Add(rawPdus[i]);
}
}
return pduClone;
}