Sudantha Sudantha - 3 years ago 173
C# Question

C# Convert a Base64 -> byte[]

I have a

Base64 byte[]
array which is transferred from a stream which i need to convert it to a normal
byte[]
how to do this ?

Answer Source

You have to use Convert.FromBase64String method in order to turns a base64 string to byte array.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download