Click here to Skip to main content
15,908,173 members
Home / Discussions / C#
   

C#

 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa23-Nov-10 19:48
dpminusa23-Nov-10 19:48 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
Jacob D Dixon24-Nov-10 8:22
Jacob D Dixon24-Nov-10 8:22 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa24-Nov-10 15:17
dpminusa24-Nov-10 15:17 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
Jacob D Dixon26-Nov-10 3:56
Jacob D Dixon26-Nov-10 3:56 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa26-Nov-10 22:15
dpminusa26-Nov-10 22:15 
AnswerRe: What Class(es) to use for Hardware Profiling? Pin
Abhinav S23-Nov-10 17:48
Abhinav S23-Nov-10 17:48 
QuestionConvert Word doc to Byte Pin
MWRivera23-Nov-10 8:21
MWRivera23-Nov-10 8:21 
AnswerRe: Convert Word doc to Byte PinPopular
Luc Pattyn23-Nov-10 8:34
sitebuilderLuc Pattyn23-Nov-10 8:34 
That is completely wrong. Do you have any idea what Base64 is? it only accepts 64 different characters and is intended for encoding binary data into text, making it ready for easy transmission or storage. You can't feed arbitrary text to Convert.FromBase64String and get away with it.

What you need depends on the context, which you didn't make clear. It may be simply reading an existing file as binary data (using File.Read or ReadAllBytes); or writing existing data to a MemoryStream, then calling MemoryStream.ToArray().

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Convert Word doc to Byte Pin
MWRivera23-Nov-10 9:16
MWRivera23-Nov-10 9:16 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn23-Nov-10 9:24
sitebuilderLuc Pattyn23-Nov-10 9:24 
GeneralRe: Convert Word doc to Byte Pin
MWRivera23-Nov-10 9:45
MWRivera23-Nov-10 9:45 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn23-Nov-10 10:34
sitebuilderLuc Pattyn23-Nov-10 10:34 
AnswerRe: Convert Word doc to Byte Pin
NickHighIQ23-Nov-10 13:51
NickHighIQ23-Nov-10 13:51 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn23-Nov-10 14:41
sitebuilderLuc Pattyn23-Nov-10 14:41 
GeneralRe: Convert Word doc to Byte Pin
NickHighIQ23-Nov-10 15:53
NickHighIQ23-Nov-10 15:53 
GeneralRe: Convert Word doc to Byte Pin
Pete O'Hanlon23-Nov-10 23:13
mvePete O'Hanlon23-Nov-10 23:13 
GeneralRe: Convert Word doc to Byte Pin
NickHighIQ24-Nov-10 1:10
NickHighIQ24-Nov-10 1:10 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn24-Nov-10 3:42
sitebuilderLuc Pattyn24-Nov-10 3:42 
GeneralRe: Convert Word doc to Byte Pin
MWRivera24-Nov-10 4:59
MWRivera24-Nov-10 4:59 
GeneralRe: Convert Word doc to Byte Pin
MWRivera24-Nov-10 5:01
MWRivera24-Nov-10 5:01 
GeneralRe: Convert Word doc to Byte Pin
MWRivera30-Nov-10 5:05
MWRivera30-Nov-10 5:05 
QuestionGeneric Event In Interface Pin
Kevin Marois23-Nov-10 6:10
professionalKevin Marois23-Nov-10 6:10 
AnswerRe: Generic Event In Interface Pin
Keith Barrow23-Nov-10 6:25
professionalKeith Barrow23-Nov-10 6:25 
QuestionProgrammatically checking DataGridViewCheckBoxCell Pin
kapax523-Nov-10 4:34
kapax523-Nov-10 4:34 
AnswerRe: Programmatically checking DataGridViewCheckBoxCell Pin
Dave Kreskowiak23-Nov-10 6:25
mveDave Kreskowiak23-Nov-10 6:25 

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.