VSD File Contents Analysis[Back] This is a page for VSD file analysis (Header). Try sample file: Try an example
Try your ownOr enter your own URL to analyse the first six sectors of the file: An VSD file has a well defined header, which starts with: D0 CF 11 E0 A1 B1 1A E1. We should also see R.o.o.t.E.l.e.m.e.n.t at Byte 1024 (82011101110...) |
File contents analysis |
Sample code
public string getXls(byte[] b) {string TextBox1 = ""; try { TextBox1 += "Byte 0 [Should be D0]: " + Global.intToHex(b[0]) + "<br/>"; TextBox1 += "Byte 1 [Should be CF]: " + Global.intToHex(b[1]) + "<br/>"; TextBox1 += "Byte 2 [Should be 11]: " + Global.intToHex(b[ 2]) + "<br/>"; TextBox1 += "Byte 3 [Should be E0]: " + Global.intToHex(b[ 3]) + "<br/>"; TextBox1 += "Byte 4 [Should be A1]: " + Global.intToHex(b[ 4]) + "<br/>"; TextBox1 += "Byte 5 [Should be B1]: " + Global.intToHex(b[ 5]) + "<br/>"; TextBox1 += "Byte 6 [Should be 1A]: " + Global.intToHex(b[ 6]) + "<br/>"; TextBox1 += "Byte 7 [Should be E1]: " + Global.intToHex(b[ 7]) + "<br/>"; int bytecount = 0; for (int i = 0; i < buffersize; i+=512) { if (b[i] == 9 && b[i + 1] == 8) { TextBox1 += "Byte " + i + " [Should be 09]: " + Global.intToHex(b[i]) + "<br/>"; TextBox1 += "Byte (offset +1) [Should be 08]: " + Global.intToHex(b[i + 1]) + "<br/>"; TextBox1 += "Byte (offset +2) [Should be 10]: " + Global.intToHex(b[i + 2]) + "<br/>"; TextBox1 += "Byte (offset +3) [Should be 00]: " + Global.intToHex(b[i + 3]) + "<br/>"; TextBox1 += "Byte (offset +4) [Should be 00]: " + Global.intToHex(b[i+4]) + "<br/>"; TextBox1 += "Byte (offset +5) [Should be 06]: " + Global.intToHex(b[i+5]) + "<br/>"; TextBox1 += "Byte (offset +6) [Should be 05]: " + Global.intToHex(b[i+6]) + "<br/>"; TextBox1 += "Byte (offset +7) [Should be 00]: " + Global.intToHex(b[i+7]) + "<br/>"; } } } catch { } return (TextBox1); }