This is not working:
byte[] tgtBytes = ... Response.Write(tgtBytes);
You're probably looking for:
Response.BinaryWrite(tgtBytes);
MSDN documentation here.
1.4m articles
1.4m replys
5 comments
57.0k users