KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Let's say I have the following WCF implementation: public Stream Download(string path) { FileStream stream = new FileStream(path, FileMode.Open, FileAccess.Read); return stream; } Who's responsible for disposing the returned value? After all, a network failure might occur, hence the consumer might not be able to dispose it.
Tags (comma-separated)
Save Edits
Cancel