c# - Download Files Async -
my code this:
webclient sz_getconf = new webclient(); #region get_filesinreleasemanifest if (file.exists("release_manifest")) { string[] files = file.readalllines("release_manifest"); foreach (string filename in files) if (file.exists("wowfolder/" + filename)) { file.delete(filename); string itemtodownload = urlpath; itemtodownload += filename; sz_getconf.downloadprogresschanged += new downloadprogresschangedeventhandler(sz_getconf_downloadprogresschanged); sz_getconf.downloadfilecompleted += new system.componentmodel.asynccompletedeventhandler(sz_getconf_downloadfilecompleted); sz_getconf.downloadfileasync(new uri("http://someurl.com/dl/"+filename), filename); } #endregion
when try compile receive error:
"no source available no symbols loaded call stack frame. source code not displayed."
what should do?
error image: click me!
Comments
Post a Comment