Geeks With Blogs


Google RankGoogle PRâ„¢ - Post your Page Rank with

The content on this site represents my own personal opinions and thoughts at the time of posting, and does not reflect those of my employer's in any way.

Disclaimer:- All postings in this blog is provided "AS IS" with no warranties, and confers no rights.
Gaurav Taneja Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in.
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);
      return buffer1;
Posted on Thursday, January 4, 2007 9:10 AM .Net | Back to top

Comments on this post: Converting Document to byte of Stream

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Gaurav Taneja | Powered by: