Hello, Look at the FileStream.Read() method.
You can determine the file size by using the FileInfo.Length property Thanks, Graeme > -----Original Message----- > From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of > Wayne Lee > Sent: 29 May 2002 12:55 > To: [EMAIL PROTECTED] > Subject: [DOTNET] getBytes > > > What's the quickest way using c# to read in a file into a byte object? > > Wayne Lee > This email has been scanned with Norton AntiVirus 2002 > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.