This project has moved and is read-only. For the latest updates, please go here.

How to check for corrupt presentations/invalid files?

Dec 27, 2013 at 5:10 PM

I'm writing a small utility with NetOffice that works with PowerPoint presentations. My question is, is there any way I can check if the presentation opened with
is a valid presentation? I mean, other than just try-catching.
AFAIK the VSTO version of this function returns null if the presentation is not valid (invalid file, corrupt presentation) but NetOffice throws an exception when
is used.
Thanks for your help.