Sample code for 30+ languages & platforms
VB.NET

Decode Base64 to Zip File

See more Base64 Examples

Shows how to decode a baes64 string that is the encoded representation of the bytes that make up a .zip archive. Decodes the base64 and writes the .zip file.

Chilkat VB.NET Downloads

VB.NET
Dim success As Boolean = False

Dim b64 As String = "UEsDBBQA ... AAALgQAAAAA"

Dim zipData As New Chilkat.BinData
success = zipData.AppendEncoded(b64,"base64")
success = zipData.WriteFile("qa_output/out.zip")
If (success <> True) Then
    Debug.WriteLine("failed to write Zip file.")
    Exit Sub
End If