wasSharpNET

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ HEAD  →  ?path2? @ 1
File deleted
\ No newline at end of file
/IO/FileSystemWatcher.cs
File deleted
\ No newline at end of file
/IO/Utilities/IOExtensions.cs
/IO/SafeFileStream.cs
@@ -6,6 +6,8 @@
 
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Threading;
 
namespace wasSharpNET.IO
@@ -20,7 +22,7 @@
 
public SafeFileStream(string path, FileMode mode, FileAccess access, FileShare share, uint milliscondsTimeout)
{
m_mutex = new Mutex(false, $"Global\\{path.Replace('\\', '/')}");
m_mutex = new Mutex(false, string.Format("Global\\{0}", path.Replace('\\', '/')));
m_path = path;
m_fileMode = mode;
m_fileAccess = access;