What would be a simple way to store a Byte[] array in XML (using C#) ?
Use Convert.ToBase64String(byte[]) to convert it to base 64 representation and store the resulting string.
You can get back the byte[] by calling Convert.FromBase64String(string) method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With