By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,529 Members | 1,826 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,529 IT Pros & Developers. It's quick & easy.

Help Me convert Ascii to Base64

P: n/a
Hi Everyone,

in my application i am interacting to a known server. i send a request and
get a response from the server. i am using XML and HTTP here.

part of the job is that the XYZ server is sending a image in the Ascii
format using XML. ASCII is not useful for me to display the image. i need to
convert it to BASE64 format... so i can go ahead and view the image. How do u
convert ASCII to Base64 in C#.

can someone help me on this one?
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
> part of the job is that the XYZ server is sending a image in the Ascii
format using XML. ASCII is not useful for me to display the image. i need
to
convert it to BASE64 format... so i can go ahead and view the image. How
do u
convert ASCII to Base64 in C#.


Convert.ToBase64String()
Convert.FromBase64String()

Wiktor Zychla
Nov 16 '05 #2

P: n/a
I think your server already send the image in Base64 encoded. what you
want is to convert that back to binary. Use
Convert.FromBase64String();

On Thu, 17 Mar 2005 05:31:03 -0800, VenuGopal
<Ve*******@discussions.microsoft.com> wrote:
Hi Everyone,

in my application i am interacting to a known server. i send a request and
get a response from the server. i am using XML and HTTP here.

part of the job is that the XYZ server is sending a image in the Ascii
format using XML. ASCII is not useful for me to display the image. i need to
convert it to BASE64 format... so i can go ahead and view the image. How do u
convert ASCII to Base64 in C#.

can someone help me on this one?


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.