PC Review


Reply
Thread Tools Rate Thread

Re: Byte Array to Printable String to Byte Array

 
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      4th Aug 2004
Bryan Kelly via .NET 247 <(E-Mail Removed)> wrote:
> Apologies if this is a noob question, but I've been struggling with
> this for most of the day!
>
> I'm trying to convert a byte array (encrypted authorization code)
> into a *screen-printable* string that is displayed in a text box.


I'd suggest Base64 encoding it. You can use

Convert.ToBase64String and Convert.Base64String.

--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
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
Byte Array to Screen-Printable String and back again =?Utf-8?B?QnJ5YW4=?= Microsoft VB .NET 2 15th Jul 2004 11:06 AM
string >> byte array >> string representation >> byte array >> string !! David Bargna Microsoft VB .NET 4 6th Oct 2003 04:02 PM
How to print the Resource Kit Documentation? Where to download a printable Resource Kit Documentation? Where to download any printable Windows XP Documentation? Dmitriy Kopnichev Windows XP Help 3 19th Aug 2003 01:10 AM
How to print the Resource Kit Documentation? Where to download a printable Resource Kit Documentation? Where to download any printable Windows XP Documentation? Dmitriy Kopnichev Windows XP Basics 3 19th Aug 2003 01:10 AM
How to print the Resource Kit Documentation? Where to download a printable Resource Kit Documentation? Where to download any printable Windows XP Documentation? Dmitriy Kopnichev Windows XP General 3 19th Aug 2003 01:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:05 AM.