This structure specifies attributes of a bitmap cache entry stored on the client
 /// <summary>
 /// Method to send a CACHE_IMPORT_REPLY pdu to client.
 /// </summary>
 /// <param name="cacheEntries">Identify a collection of bitmap cache present on the client.</param>
 public void SendCacheImportReply(RDPGFX_CACHE_ENTRY_METADATA[] cacheEntries)
 {
     MakeCacheImportReplyPdu(cacheEntries);
     PackAndSendServerPdu();
 }
        /// <summary>
        /// Method to make a Cache Offer Reply PDU.
        /// </summary>
        /// <param name="cacheEntries">The cache entries(slot) to be sent to client </param>
        void MakeCacheImportReplyPdu(RDPGFX_CACHE_ENTRY_METADATA[] cacheEntries)
        {
            RDPGFX_CACHE_IMPORT_REPLY impReply = egfxServer.CreateCacheImportReplyPdu();
            impReply.importedEntriesCount = (ushort)cacheEntries.Length;

            for (ushort i = 1; i <= cacheEntries.Length; i++)
            {
                impReply.cacheSlotsList.Add(i);
            }

            AddPdusToBuffer(impReply);
        }