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

Renci.SshNet.Common.ThrowHelper

static class ThrowHelper
namespace Renci.SshNet.Common { internal static class ThrowHelper { public static void ThrowObjectDisposedIf(bool condition, object instance); public static void ThrowIfNull(object argument, string paramName = null); public static void ThrowIfNullOrWhiteSpace(string argument, string paramName = null); public static void ThrowIfNullOrEmpty(string argument, string paramName = null); public static void ValidateBufferArguments(byte[] buffer, int offset, int count); public static void ThrowIfNegative(long value, string paramName = null); } }