[Mono-dev] Bug in XmlSerializer Deserialize?
Eric.Engler at zcsterling.com
Wed Oct 24 13:09:32 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
> StreamReader sr = new StreamReader(URL);
I don't think a StreamReader constructor can take a URL.
Try something like this:
WebClient w = new WebClient();
StreamReader sr = new StreamReader(w.OpenRead(URL));
NOTICE: The information contained in this electronic mail transmission is intended by the sender for the sole use of the named individual or entity to which it is directed and may contain information that is privileged or
otherwise confidential. Please do not copy it or use it for any purposes, or disclose its contents to any other person. To do so could violate state and Federal privacy laws. If you have received this electronic mail
transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected. Thank you for your cooperation.
-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 2.6.2
-----END PGP SIGNATURE-----
More information about the Mono-devel-list