Microsoft.Identity.Client.Extensions.Msal.CrossPlatLock
A cross-process lock that works on all platforms, implemented using files.
Does not ensure thread safety, i.e. 2 threads from the same process will pass through this lock.
namespace Microsoft.Identity.Client.Extensions.Msal
{
public sealed class CrossPlatLock : IDisposable
{
public CrossPlatLock(string lockfilePath, int lockFileRetryDelay = 100, int lockFileRetryCount = 600);
public void Dispose();
}
}