|
using (FileStream fs = File.OpenRead(path))
{
fs.BeginRead();
}
|
|
|
|
|
A few points;
- "Help" is a too generic subject; they're all looking for help
- The question is hard to find; ask a question, explain what you tried, and why it didn't work
- Reading a
Stream is often-described pattern[^]. Do you really need the async version? Wouldn't ReadToEnd[^] be a bit simpeler?
Did you write/use an async method before?
|
|
|
|
|
Sorry your question is not very clear.
BeginRead() [^] does not have any overloads that accept parameters.
|
|
|
|