I have a Base64-encoded object with the following header:
application/x-xfdl;content-encoding=\"asc-gzip\"
What is the best way to proceed
To decode the Base64 content in C# you can use the Convert Class static methods.
byte[] bytes = Convert.FromBase64String(base64Data);
You can also use the GZipStream Class to help deal with the GZipped stream.
Another option is SharpZipLib. This will allow you to extract the original data from the compressed data.