ZURINET
asked on
Memory stream to Base64
How can I do these 3 things
1) Use a memorystream
MemoryStream m = new MemoryStream();
serialize object into stream.
2) Use MemoryStream.ToArray()
which will convert your memorystream into a byte []
3) Call Convert.ToBase64(yourbytes ) which will return you a byte []
Thanks in Advance
1) Use a memorystream
MemoryStream m = new MemoryStream();
serialize object into stream.
2) Use MemoryStream.ToArray()
which will convert your memorystream into a byte []
3) Call Convert.ToBase64(yourbytes
Thanks in Advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.