From the documentation:
IOException is the base class for exceptions thrown while accessing
information using streams, files and directories.
The Base Class Library includes the following types, each of which is a
derived class of IOException :
a.. DirectoryNotFoundException
b.. EndOfStreamException
c.. FileNotFoundException
d.. FileLoadException
e.. PathTooLongException
Where appropriate, use these types instead of IOException.
So in your case, reading from a network stream could definitely do it.
Like Jon said, what's the message that is in the IOException instance?
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"Zytan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I got a System.IO.IOException in my app on another computer, so I
> couldn't debug it. I don't think it was a HD error. What else could
> throw this? Could it be from reading a webpage from the internet
> through a stream?
>
> Zytan
>