Click here to Skip to main content
15,916,042 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#, Authenticate to WSUS Pin
myname9897-Sep-23 8:25
myname9897-Sep-23 8:25 
Questionsave key board strokes in a file Pin
abbmalleshmca23-May-08 6:10
abbmalleshmca23-May-08 6:10 
AnswerRe: save key board strokes in a file Pin
Anthony Mushrow23-May-08 6:12
professionalAnthony Mushrow23-May-08 6:12 
GeneralRe: save key board strokes in a file Pin
abbmalleshmca29-May-08 4:21
abbmalleshmca29-May-08 4:21 
AnswerRe: save key board strokes in a file Pin
Christian Graus23-May-08 12:13
protectorChristian Graus23-May-08 12:13 
AnswerRe: save key board strokes in a file Pin
DaveyM6923-May-08 12:16
professionalDaveyM6923-May-08 12:16 
GeneralRe: save key board strokes in a file Pin
Christian Graus23-May-08 12:29
protectorChristian Graus23-May-08 12:29 
QuestionRead Files using BinaryReader Pin
Ian Uy23-May-08 5:46
Ian Uy23-May-08 5:46 
Good Day,

Whenever I want to read a file, I always use:

byte[] stream = File.ReadAllBytes(path);

It worked fine for me in my past projects but now, I am reading files that are 200mb in size and File.ReadAllBytes won't present the progress of the file reading.

Thru googling, I found out that I can use BinaryReader to read files. But I don't know how to read it using the "OLD APPROACH" like using a loop and read the file chunk by chunk so I can compute for the progress.

So basically, my question is, how to use BinaryReader to read files using a a loop. Wink | ;)

Thanks!

It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

AnswerRe: Read Files using BinaryReader Pin
Anthony Mushrow23-May-08 6:10
professionalAnthony Mushrow23-May-08 6:10 
QuestionEnable Database connection change Pin
redivider23-May-08 5:21
redivider23-May-08 5:21 
QuestionHow do I Create a C# Webserver? Pin
neelchauhan23-May-08 3:42
neelchauhan23-May-08 3:42 
AnswerRe: How do I Create a C# Webserver? Pin
DaveyM6923-May-08 3:46
professionalDaveyM6923-May-08 3:46 
AnswerRe: How do I Create a C# Webserver? Pin
carbon_golem23-May-08 4:25
carbon_golem23-May-08 4:25 
AnswerRe: How do I Create a C# Webserver? Pin
led mike23-May-08 4:49
led mike23-May-08 4:49 
AnswerRe: How do I Create a C# Webserver? Pin
Vasudevan Deepak Kumar23-May-08 4:53
Vasudevan Deepak Kumar23-May-08 4:53 
JokeRe: How do I Create a C# Webserver? Pin
Ashfield23-May-08 5:51
Ashfield23-May-08 5:51 
AnswerRe: How do I Create a C# Webserver? Pin
Ravi Bhavnani23-May-08 7:06
professionalRavi Bhavnani23-May-08 7:06 
GeneralThanks Pin
neelchauhan24-May-08 3:03
neelchauhan24-May-08 3:03 
QuestionWhich is an error while I add XpExploreBar in csharp? Pin
ngoloi23-May-08 2:25
ngoloi23-May-08 2:25 
AnswerRe: Which is an error while I add XpExploreBar in csharp? Pin
Not Active23-May-08 2:44
mentorNot Active23-May-08 2:44 
AnswerRe: Which is an error while I add XpExploreBar in csharp? Pin
Abhijit Jana23-May-08 3:05
professionalAbhijit Jana23-May-08 3:05 
AnswerRe: Which is an error while I add XpExploreBar in csharp? Pin
Ravi Bhavnani23-May-08 5:45
professionalRavi Bhavnani23-May-08 5:45 
QuestionUsing LINQ with a ASP application Pin
Steve Holdorf23-May-08 2:19
Steve Holdorf23-May-08 2:19 
AnswerRe: Using LINQ with a ASP application Pin
Not Active23-May-08 2:42
mentorNot Active23-May-08 2:42 
GeneralRe: Using LINQ with a ASP application Pin
Steve Holdorf23-May-08 3:08
Steve Holdorf23-May-08 3:08 

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.