I'm rather bummed that the stuff in System.Web.dll is all marked private. There's a bunch of nice classes that use unmanaged methods implemented inside of aspnet_isapi.dll to monitor changes in the file system. This is used by the code in the System.Web.Caching namespace.
I tried hacking into this code, but there's lots of weird dependencies on being an ASP.NET application, so that was a dead end. The code in aspnet_isapi.dll appears to use nothing more than ReadDirectoryChangesW in kernel32.dll. But has someone written some code that will take callbacks from this API and fire some .NET events? I don't mind writing my own, but if someone has done this already it would save a bit of time. Thanks, -John http://www.iunknown.com You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.