PC Review


Reply
Thread Tools Rate Thread

Base64 Decode

 
 
Kuldeep
Guest
Posts: n/a
 
      30th Aug 2006
Hi All,

Could you please give me some guidelines on dealing with
Base64 encoded string.
The actual purpose is to decode Base64 Encoded string
and stream the data to a browser so that it can be viewed
in a web application

Regards,
Kuldeep



 
Reply With Quote
 
 
 
 
Jayender
Guest
Posts: n/a
 
      30th Aug 2006

This will help u i guess:
http://www.codeproject.com/aspnet/EncodedUrlBuilder.asp

Cheers,
Jay

Kuldeep wrote:
> Hi All,
>
> Could you please give me some guidelines on dealing with
> Base64 encoded string.
> The actual purpose is to decode Base64 Encoded string
> and stream the data to a browser so that it can be viewed
> in a web application
>
> Regards,
> Kuldeep


 
Reply With Quote
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      30th Aug 2006
Look at the Convert class methods, ToBase64String and FromBase64String:

http://msdn2.microsoft.com/en-us/lib...e64string.aspx

That should help.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"Kuldeep" wrote:

> Hi All,
>
> Could you please give me some guidelines on dealing with
> Base64 encoded string.
> The actual purpose is to decode Base64 Encoded string
> and stream the data to a browser so that it can be viewed
> in a web application
>
> Regards,
> Kuldeep
>
>
>
>

 
Reply With Quote
 
Kuldeep
Guest
Posts: n/a
 
      30th Aug 2006
Thank You Peter.

I could solve the problem by having a MemoryStream of the ByteArray data of
the base64 encoded string and then saving it as an image at a desired
location.

Regrads
Kuldeep


"Peter Bromberg [C# MVP]" <(E-Mail Removed)> wrote in message
news:2320E759-6682-414D-8437-(E-Mail Removed)...
> Look at the Convert class methods, ToBase64String and FromBase64String:
>
> http://msdn2.microsoft.com/en-us/lib...e64string.aspx
>
> That should help.
> Peter
>
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "Kuldeep" wrote:
>
>> Hi All,
>>
>> Could you please give me some guidelines on dealing with
>> Base64 encoded string.
>> The actual purpose is to decode Base64 Encoded string
>> and stream the data to a browser so that it can be viewed
>> in a web application
>>
>> Regards,
>> Kuldeep
>>
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
base64 encode/decode issue James Microsoft C# .NET 2 7th Jan 2009 10:24 PM
Decode a PNG image from Base64 =?Utf-8?B?QmVnaW5uZXI=?= Microsoft ASP .NET 0 9th Mar 2006 10:04 PM
decode base64 string Guoqi Zheng Microsoft ASP .NET 1 27th Sep 2004 07:37 AM
decode base64 string Guoqi Zheng Microsoft VB .NET 3 24th Sep 2004 08:17 PM
encode/decode binary to base64 student Microsoft VC .NET 2 3rd Sep 2003 04:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:11 AM.