Click here to Skip to main content
15,891,607 members
Articles / Programming Languages / C#

C# FileStream Lock. How to wait for a file to get released and lock safely.

Rate me:
Please Sign up or sign in to vote.
4.57/5 (5 votes)
3 Mar 2011CPOL 105.9K   13  
FileStream has Lock and Unlock methods, but no way to see if file was unlocked by another process.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions