| RE: [aus-dotnet] Determine if a File is being used by another pro cess... |
- From: Sean Malloy
- Subject: RE: [aus-dotnet] Determine if a File is being used by another pro cess...
- Date: Tue, 21 Sep 2004 13:03:49 +1000
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
> I am not in control of the 1st Application (writing the file), I can > only control the 2nd Application, (reading the file) and just need to > know if the file is locked (still being written). Obviously I can trap > the exception but I would rather just check to see if it is locked > somehow. > Could you use win32 OpenFile and check the return value on the call/combined with GetLastError() value? I know its not "The Managed Way", but its an option! _________________ You are a part of the Australian "dotnet" mailing list. To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribe dotnet Your Name" in the body of the email to: imailsrv@xxxxxxxxxxx List managed by: http://www.stanski.com
(Click here for more information on the aus-dotnet mailling list)
- Prev by Date: Re: [aus-dotnet] ASP.net credentials
- Next by Date: RE: [aus-dotnet] Determine if a File is being used by another pro cess...
- Previous by thread: Re: [aus-dotnet] ASP.net credentials
- Next by thread: RE: [aus-dotnet] Determine if a File is being used by another pro cess...
- Index(es):
