martins <xx*@hotmail.com> wrote:
if I have a mime base64 string like this :
dim mimeStr as string = "AAAAAPQBAAAI4ggAXHZpZGVvLnBhc3MALgBwAGEAcwBz"
How can I convert then to a plain string ?
Well, Base64 encodes binary data, not text as such. You can use
Convert.FromBase64String to get a byte array, but if that's meant to
represent an encoded text string, you'll need to use something like
Encoding.GetString - but you'll need to know what encoding was used to
encode the string in the first place.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too