Ejemplo n.º 1
0
        private static byte[] GetChunkData(XY chunk, byte canvas)
        {
            string url = UrlManager.ChunkUrl(canvas, chunk.Item1, chunk.Item2);

            using (WebClient wc = new WebClient())
            {
                return(wc.DownloadData(url));
            }
        }