• I am only trying to print it out.

    and this line throwing an exception

    Bitmap bm = (Bitmap)Bitmap.FromStream(ms);

    Thanks.

    Gunjan.