Convert it to byte[]and convert it to the Base64 database (using Convert.ToBase64String()) that you put in xml. On the other hand, you just need to decode it with Convert.FromBase64String()and process the resulting byte[]method that you like.
source
share