jeet_xp
jeet_xp

Reputation: 11

File pointer in C# | How to access multiple segments of a large file

I have a large file, want to keep 5-6 pointer which divides the file in chunks and gives faster access to any part. Is is possible to achieve in c#.

Upvotes: 0

Views: 1674

Answers (1)

Sanjeevakumar Hiremath
Sanjeevakumar Hiremath

Reputation: 11263

I think Memory-Mapped Files is the closest option to do what you want to do, without much hardwork on your side.

Edit : I assumed you are on .NET 4.0 since this is not available in earlier framework versions. Nice article talking about efficiency you are looking for

Upvotes: 2

Related Questions