What would be a simple way to store a Byte[] array in XML (using C#) ?
相关问题
- Sorting 3 numbers without branching [closed]
- Illegal to have multiple roots (start tag in epilo
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
Use
Convert.ToBase64String(byte[])
to convert it to base 64 representation and store the resulting string.You can get back the
byte[]
by callingConvert.FromBase64String(string)
method.