Method Acquire
Acquire(string)
Acquires the materialization lock for one destination file, blocking while another process holds it. Dispose the returned handle after the write attempt (success or failure) so waiters proceed. There is no overall timeout: a large model legitimately transfers for a long time, and a dead holder's handle is closed by the operating system, so waiting cannot deadlock on a dead process.
public static IDisposable Acquire(string destinationPath)
Parameters
destinationPathstringThe model file's final local path.