This is a page for PDF file analysis (Header). Try sample file: Try an example
A PDF file has a well defined header. |
File contents analysisBytes 1-3 [Signature should be %PDF-]: %PDF- File signature analysis (Header analysis)PDF file (Starts with %PDF)Additional scanning signature analysisPossible: [TIF files, sig: 4949] Count: 2 File hex characters[00000000] 25 50 44 46 2D 31 2E 32 20 0D 0A 25 E2 E3 CF D3 %PDF-1.2...%.... Base-64 conversionJVBERi0xLjIgDQol4uPP0w0KIA0KMTAgMCBvYmoNCjw8DQovTGVuZ3RoIDExIDAgUg0KL0Zp |
Sample code
public string getPdf(byte [] b) { string TextBox1 = ""; TextBox1 += "Bytes 1-3 [Signature should be %PDF-]: " + (char)b[0] + (char)b[1] + (char)b[2] + (char)b[3] + (char)b[4] + "<br/>"; return (TextBox1); }