Decoding of base64 file

Hi ,

I am getting base64 encoded file which is basically a zip file having csv and xml file. Is it possible to decode this base 64 encoded file. Please share how we can do this in uipath.

Thanks

Hi,

Hope the following helps you.

byteArray = Convert.FromBase64String(b64String)

Then

 System.IO.File.WriteAllBytes(filename,byteArray)

Regards,

Thanks. Issue got resolved.

1 Like