Geeks With Blogs
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: