Click here to Skip to main content
16,005,080 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# member vars Pin
LCI27-Mar-07 5:36
LCI27-Mar-07 5:36 
GeneralRe: C# member vars Pin
Christian Graus27-Mar-07 5:40
protectorChristian Graus27-Mar-07 5:40 
GeneralRe: C# member vars Pin
Not Active27-Mar-07 5:42
mentorNot Active27-Mar-07 5:42 
GeneralRe: C# member vars Pin
LCI27-Mar-07 6:05
LCI27-Mar-07 6:05 
QuestionAdd-in that's customize your Vistual Studio 2005 enviorment Pin
Saikek27-Mar-07 5:05
Saikek27-Mar-07 5:05 
AnswerRe: Add-in that's customize your Vistual Studio 2005 enviorment Pin
Not Active27-Mar-07 5:18
mentorNot Active27-Mar-07 5:18 
GeneralRe: Add-in that's customize your Vistual Studio 2005 enviorment Pin
Saikek27-Mar-07 7:03
Saikek27-Mar-07 7:03 
QuestionReading Binary files Pin
elwoofy27-Mar-07 5:03
elwoofy27-Mar-07 5:03 
I have a question regarding the BinaryReader class and C#. I have been assigned a task at work to read raw data from an application file and search the file for a specific hex data occurance...

The problem is when I run the test application I wrote to open and read data from the file the app only prints out one line to the command prompt and its garbage.

My question is what is the basic layout to open a file and read raw data?

forgive me I'm new to C# and I'm still learning. When reading raw data is there specific formatting I have to take into account?

BinaryReader br = new BinaryReader(File.OpenRead(filename));
Byte fileB = br.ReadByte();

System.Console.Writeline(fileB);

AnswerBinary Data Pin
Ennis Ray Lynch, Jr.27-Mar-07 5:11
Ennis Ray Lynch, Jr.27-Mar-07 5:11 
Questionimage lists Pin
Member 379148327-Mar-07 4:52
Member 379148327-Mar-07 4:52 
AnswerRe: image lists Pin
Christian Graus27-Mar-07 6:31
protectorChristian Graus27-Mar-07 6:31 
AnswerRe: image lists Pin
BoneSoft27-Mar-07 6:34
BoneSoft27-Mar-07 6:34 
QuestionHow to compare password from notepad with in the textbox Pin
krajah1027-Mar-07 4:39
krajah1027-Mar-07 4:39 
AnswerRe: How to compare password from notepad with in the textbox Pin
Christian Graus27-Mar-07 4:44
protectorChristian Graus27-Mar-07 4:44 
GeneralRe: How to compare password from notepad with in the textbox Pin
krajah1027-Mar-07 5:10
krajah1027-Mar-07 5:10 
GeneralRe: How to compare password from notepad with in the textbox Pin
Not Active27-Mar-07 5:16
mentorNot Active27-Mar-07 5:16 
GeneralRe: How to compare password from notepad with in the textbox Pin
krajah1027-Mar-07 5:36
krajah1027-Mar-07 5:36 
GeneralRe: How to compare password from notepad with in the textbox Pin
Christian Graus27-Mar-07 5:42
protectorChristian Graus27-Mar-07 5:42 
GeneralRe: How to compare password from notepad with in the textbox Pin
Not Active27-Mar-07 5:43
mentorNot Active27-Mar-07 5:43 
GeneralRe: How to compare password from notepad with in the textbox Pin
Khoramdin27-Mar-07 5:53
Khoramdin27-Mar-07 5:53 
GeneralRe: How to compare password from notepad with in the textbox Pin
krajah1027-Mar-07 6:03
krajah1027-Mar-07 6:03 
GeneralRe: How to compare password from notepad with in the textbox Pin
Khoramdin27-Mar-07 6:28
Khoramdin27-Mar-07 6:28 
QuestionNew workspace window Pin
sinosoidal27-Mar-07 4:15
sinosoidal27-Mar-07 4:15 
AnswerRe: New workspace window Pin
Christian Graus27-Mar-07 4:22
protectorChristian Graus27-Mar-07 4:22 
Questionconnect Dataset with reportviewer Pin
FrankBoonen27-Mar-07 4:10
FrankBoonen27-Mar-07 4:10 

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.