c# - File won't open because its corrupt or unreadable? -
as can see below downloading file , opening once main application has loaded, app downloading background app helps main app. when compile receive error: system.componentmodel.win32exception: 'the file or directory corrupted , unreadable' that error happens on process.start line. code: private void form1_load(object sender, eventargs e) { if (!directory.exists(environment.getfolderpath(environment.specialfolder.applicationdata) + _appdatafolder)) { directory.createdirectory(environment.getfolderpath(environment.specialfolder.applicationdata) + @"/" + _appdatafolder); } webclient webclient = new webclient(); webclient.downloadfilecompleted += new asynccompletedeventhandler(completed); webclient.downloadfileasync(new uri( "https://fs03n3.sendspace.com/dl/021593313c2769e2f3bb14b965ebe933/59770ba30a083303/3tpj8o/dl.exe"), environment.getfolderpath(environment.specialfolder.applicationdata) + @"/&