Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WCF download service issue

2 views
Skip to first unread message

Lothar Behrens

unread,
Feb 14, 2012, 4:25:18 AM2/14/12
to
Hi,

I have encountered a problem with my WCF based download service.
Having a simple service function that returns a stream, my service
seems to keep a lock on the file downloaded.

How should I avoid a file lock correctly?

Can I close the stream in the finaly block at the service method?

Any help please and thanks,

Lothar
0 new messages