Fastest way to read a file

vvc-doctor

New Member
My application currently implements a FileSystemWatcher object to monitor a directory (C:\Incoming) for the creation of a file (Input.xml). I'm currently using a Streamreader object to read the file into my application, however I'm concerned about performance considering that the data will be used to perform operations in a SQL Server database. What would be the FASTEST way to read the file into memory (or am I already using it)?
 
Back
Top