Click here to Skip to main content
16,012,316 members
Home / Discussions / C#
   

C#

 
GeneralRe: Meaning of "??" in C# Pin
Anthony Mushrow18-Jun-08 23:44
professionalAnthony Mushrow18-Jun-08 23:44 
GeneralRe: Meaning of "??" in C# Pin
Member 391904919-Jun-08 6:15
Member 391904919-Jun-08 6:15 
QuestionXml Streaming Pin
Dirso18-Jun-08 14:24
Dirso18-Jun-08 14:24 
AnswerRe: Xml Streaming Pin
leppie18-Jun-08 21:59
leppie18-Jun-08 21:59 
GeneralRe: Xml Streaming Pin
Dirso19-Jun-08 2:40
Dirso19-Jun-08 2:40 
QuestionHow can we create Image type from base64 string ? Pin
Mohammad Dayyan18-Jun-08 10:47
Mohammad Dayyan18-Jun-08 10:47 
AnswerRe: How can we create Image type from base64 string ? Pin
Bert delaVega18-Jun-08 11:00
Bert delaVega18-Jun-08 11:00 
AnswerRe: How can we create Image type from base64 string ? Pin
Colin Angus Mackay18-Jun-08 11:02
Colin Angus Mackay18-Jun-08 11:02 
M-Dayyan wrote:
What's the base64 string ?


It is an ASCII representation of binary data. The 64 means that it splits the raw binary up into 6 bit chunks (0-63) and encodes them as letters, numbers and a few symbols 26 (a-z) + 26 (A-Z) + 10 (0-9) + some symbols. More detail can be found here[^]


M-Dayyan wrote:
How can we find, our string is base64 string ?


Because it only uses the characters in the standard. If it contains any other characters (excluding whitespace) then it is not base64


M-Dayyan wrote:
How can we create base64 string from an image ?

M-Dayyan wrote:
Fourth : I want to create Image type from base64 string , How I can do it ?


The answer for both is pretty much the same, but one is the reverse of the other.

There are methods in the .NET framework for this. I think you might want to look at the Convert class (use Google to find it). It has "Base64" in the method name.

The conversion will turn the base64 in to binary (a byte array) which can be used to create an Image object of some description.


GeneralRe: How can we create Image type from base64 string ? Pin
Mohammad Dayyan18-Jun-08 11:32
Mohammad Dayyan18-Jun-08 11:32 
GeneralRe: How can we create Image type from base64 string ? Pin
User 665818-Jun-08 11:41
User 665818-Jun-08 11:41 
GeneralRe: How can we create Image type from base64 string ? Pin
Mohammad Dayyan18-Jun-08 11:46
Mohammad Dayyan18-Jun-08 11:46 
GeneralRe: How can we create Image type from base64 string ? Pin
User 665818-Jun-08 11:48
User 665818-Jun-08 11:48 
GeneralRe: How can we create Image type from base64 string ? Pin
Mohammad Dayyan18-Jun-08 11:56
Mohammad Dayyan18-Jun-08 11:56 
QuestionOpenSSL key generation in PEM format Pin
Mike Bentzen18-Jun-08 10:44
Mike Bentzen18-Jun-08 10:44 
QuestionSerial Port Help Pin
Chase Davis18-Jun-08 9:30
Chase Davis18-Jun-08 9:30 
AnswerRe: Serial Port Help Pin
carbon_golem18-Jun-08 10:01
carbon_golem18-Jun-08 10:01 
AnswerRe: Serial Port Help Pin
Alan N18-Jun-08 10:09
Alan N18-Jun-08 10:09 
GeneralRe: Serial Port Help Pin
Chase Davis18-Jun-08 10:20
Chase Davis18-Jun-08 10:20 
GeneralRe: Serial Port Help Pin
Alan N18-Jun-08 13:10
Alan N18-Jun-08 13:10 
QuestionHow to check if keyboard input occurs within a certain time limit? Pin
Michael Zmuda18-Jun-08 9:13
Michael Zmuda18-Jun-08 9:13 
AnswerRe: How to check if keyboard input occurs within a certain time limit? Pin
User 665818-Jun-08 9:21
User 665818-Jun-08 9:21 
QuestionAxWebBrowser question Pin
kozu18-Jun-08 8:51
kozu18-Jun-08 8:51 
AnswerRe: AxWebBrowser question Pin
Judah Gabriel Himango18-Jun-08 11:31
sponsorJudah Gabriel Himango18-Jun-08 11:31 
GeneralRe: AxWebBrowser question Pin
kozu18-Jun-08 11:59
kozu18-Jun-08 11:59 
QuestionGCHandle.Alloc and delegate Pin
Andy Brummer18-Jun-08 7:13
sitebuilderAndy Brummer18-Jun-08 7:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.