Hello, I would like to use the file system as a lock on Windows XP between two processes. That is, the file name "file_lock" has been given, if a file does not already exist, then the file gets locked by trying to create "file_lock" if it already exists, fails to get lock.
i.e.
file stream fs = new filestream ("c: \\ file_lock, FileMode.CreateNew); Is it working? Is the file creation if the file is not already present atom?
Thanks!
Comments
Post a Comment