Jeff Roberts [mailto:[EMAIL PROTECTED]] wrote:

> Thanks again !  I need to read a "binary" file into a byte
> array, can I do this = with the StreamReader class ?  I don't
> see a BinaryStreamReader Class !

If it's binary, then you can read it by just using the Stream, which happens
to be a NetworkStream[1] IIRC, returned from the call to
WebRequest::GetResponseStream.

HTH,
Drew

[1]
http://msdn.microsoft.com/library/?url=/library/en-us/cpref/html/frlrfSystem
NetSocketsNetworkStreamClassTopic.asp?frame=true


[ .NET MVP | weblog: http://radio.weblogs.com/0104813/ ]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to