API.WebClients.GoogleTransitClient.GetZipFile C# (CSharp) Method

GetZipFile() private static method

Gets the Google Transit Zipfile as a Memory Stream.
private static GetZipFile ( ) : Stream
return Stream
        private static Stream GetZipFile()
        {
            string url = "https://dl.dropboxusercontent.com/s/522mkq9rud73r8f/Google_Transit.zip";

            using (var client = new WebClient())
            {

                var data = client.DownloadData(url);
                return new MemoryStream(data);
            }
        }