/// <summary> /// Clones the packet. /// </summary> /// <returns>The cloned packet.</returns> public override StackPacket Clone() { return((StackPacket)ObjectUtility.DeepClone(this)); }
/// <summary> /// to create an instance of the StackPacket class that is identical to the current StackPacket. /// </summary> /// <returns>The copy of this instance</returns> public override StackPacket Clone() { return(ObjectUtility.DeepClone(this) as SmbPacket); }