public static byte[] getFileContent(string fileUrl) { Stream stream1 = new FileStream(fileUrl, FileMode.Open, FileAccess.ReadWrite); byte[] buffer1 = new byte[stream1.Length]; stream1.Read(buffer1, 0, (int) stream1.Length); stream1.Close(); return buffer1; }
Converting Document to byte of Stream
Posted by
kanth
on Wednesday, February 3, 2010
Labels:
Problems ans solutions
0 comments:
Post a Comment