Reputation: 1785
How can I check to see if a URL is valid (one that streams)? I've tried opening the stream (not reading data) but it still gets caught up on the stream and it tries downloading the entire stream which doesn't stop.
Upvotes: 1
Views: 1818
Reputation: 16199
Ok, so what you are trying to do isn't specifically Windows Phone 7 but trying to see if there is a file on the other end.
This link here: http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/e2bb41aa-a2ee-4751-8028-b9c5e291f255 details a way to do it. Look at the accepted answer.
Upvotes: 1