Example #1
0
        private async Task DownloadFile(SymbolServerClient client, string lookupKey)
        {
            try
            {
                string path = await client.GetFilePath(lookupKey);

                WriteLine("SUCCESS: " + path);
            }
            catch (Exception e)
            {
                WriteLine("FAIL: " + lookupKey + ": " + e.Message);
            }
        }
Example #2
0
 public async Task DownloadFiles()
 {
     SymbolServerClient client = new SymbolServerClient(_cachePath, _symbolServerPath);
     await Task.WhenAll(GetLookupKeys(_dumpFilePath).Select(k => DownloadFile(client, k)));
 }