ICOThis is a page for ICO file analysis. Try an exampleWhat are we looking for?For an ICO file, we look for the byte sequence 00 00 01 00 > |
File contents analysisFile signature analysis (Header analysis)ICO file (Starts with 0x00 0x00 0x01 0x00)Additional scanning signature analysisPossible: [ICO file, sig: 00000100] Count: 6 File hex characters[00000000] 00 00 01 00 02 00 20 20 00 00 01 00 20 00 A8 10 ................ Base-64 conversionAAABAAIAICAAAAEAIACoEAAAJgAAABAQAAABACAAaAQAAM4QAAAoAAAAIAAAAEAAAAABACAA |
Sample code
public string getTif(System.IO.Stream file) { string TextBox1 = ""; byte[] b = ReadFully(file, file.Length); TextBox1 = "Starting tag (should be II - Big Indian): " + (char)b[0] + (char)b[1] + "<br/>"; TextBox1 += "Version: " + Global.intToHex(b[2]) + "<br/>"; return (TextBox1); }