PPTXThis is a page for PPTX file analysis (Header). Try sample file: Try an exampleThe RTF file has a well defined header. |
File contents analysisStarting tag (should be 0x504b0304): 504B0304 File signature analysis (Header analysis)ZIP file (Starts with 0x50 0x04B)Additional scanning signature analysisPossible: [ZIP files, sig: 504B03] Count: 16 File hex characters[00000000] 50 4B 03 04 14 00 06 00 08 00 00 00 21 00 35 3C PK..........!.5< Base-64 conversionUEsDBBQABgAIAAAAIQA1PI0W7QEAAHgMAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIo |
Sample code
public string getRtf(byte[] b) { string TextBox1 = ""; TextBox1 += "Byte 1 [Signature should be an open brace ({)]: " + (char)b[0] + "<br/>"; TextBox1 += "Byte 2-5 [Signature should be \rtf]: " + (char)b[1] + (char)b[2] + (char)b[3] + (char)b[4] + "<br/>"; TextBox1 += "Byte 6 [Major Version]: " + (char)b[5] + "<br/>"; TextBox1 += "Byte 7-10 [\\ansi]: " + (char)b[6] + (char)b[7] + (char)b[8] + (char)b[9] +"<br/>"; return (TextBox1); }