{
if (onTaskInventoryReply != null)
{
Packet packet = e.getPacket();
ReplyTaskInventoryPacket reply = (ReplyTaskInventoryPacket)packet;
onTaskInventoryReply.raiseEvent(new TaskInventoryReplyEventArgs(reply.InventoryData.TaskID, reply.InventoryData.Serial,
Utils.bytesWithTrailingNullByteToString(reply.InventoryData.Filename)));
}
}