1. How would i know if the type of file is a PDF file?
2. To determine the number of pages of a PDF File.

* please use c#

Thanks in advance ...