You should use Process.Start
to open files in default application, if you open pdf
file, it will open in Adobe Reader if Adobe Reader is default application for pdf
:
Process.Start(file.FullName);
FileInfo.OpenRead
returns a read-only FileStream
object, not for opening file.