Exemple #1
0
        public async Task <DownloadFileInfo> GetLastDownloadFileInfo()
        {
            Uri    methodUri = new Uri("http://fias.nalog.ru/WebServices/Public/GetLastDownloadFileInfo");
            string contentDownloadFileInfo = await _apiHelper.GetContentAsStringAsync(methodUri);

            DownloadFileInfo lastFileInfo = JsonConvert.DeserializeObject <DownloadFileInfo>(contentDownloadFileInfo);

            return(lastFileInfo);
        }