# Get document information This article explains how to detect document file type, obtain document details, retrieve list of existing form fields and added signatures, calculate pages count when pr...... ```csharp using (Signature signature...document provided as a stream. ```csharp string filePath = "sample.pdf";...