<PackageReference Include="SSH.NET" Version="2025.0.0" />

Lock

sealed class Lock
using System.Threading; namespace Renci.SshNet.Common { internal sealed class Lock { public bool TryEnter() { return Monitor.TryEnter(this); } public void Exit() { Monitor.Exit(this); } } }