p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   isFileOpen (http://p2p.wrox.com/showthread.php?t=66945)

Laxmikant_it March 27th, 2008 04:41 AM

Hi Friends

I want to write some data to a text file.
How can I know file is already been used by other process ?

Thanking you,


weicco March 27th, 2008 07:36 AM

Try open it and if you get exception it is locked by someone.

All times are GMT -4. The time now is 08:41 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.