What it appears to me like what you have to do is convert your string which in this case is some text from a BIN file to a byte array. MSDN shows how to do that here.