I have this code running on both iPad 1 and 2's. On the iPad 1 the code hangs
at random points getting files. On a 2 it works 100% of the time. Any
thoughts would be appreciated.
WebClient wc = new WebClient();
Uri uri = new Uri(url);
byte[] bytes = wc.DownloadData(uri);
string path = Path.Combine(tmpPath, fileName);
File.WriteAllBytes(path, bytes);
wc.Dispose();
Thanks,
Rick
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Difference-between-iPad-1-and-iPad-2-with-WebClient-tp3750957p3750957.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch