.net - How do you convert a file in memory to a byte array? -
I am using IonicZip to insert video files and am storing in a Blob field. I have a zip file created, it needs to be converted to only one byte array. I have done this without writing the harddrive
thanks,
Dave
< / Div>
If you can write on MemoryStream, you can use the "ToArray ()" method on MemoryStream to get a byte array Can be used.
Comments
Post a Comment