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

Renci.SshNet.Common.Extensions

static class Extensions
Collection of different extension methods.
namespace Renci.SshNet.Common { internal static class Extensions { public sealed class <G>$5826E9994B69910B49B9282D8BFF5922 { public static class <M>$5826E9994B69910B49B9282D8BFF5922 { } } public sealed class <G>$96CB7C060F6C3BA9D49BEC9D5AB7FADB { public static class <M>$5D40FC3A6BFA28E51D3C7B182E4DAA68 { } } public static BigInteger ToBigInteger2(this byte[] data); public static byte[] ToByteArray(this BigInteger bigInt, bool isUnsigned = false, bool isBigEndian = false); public static long GetBitLength(this BigInteger bigint); public static byte[] ExportKeyParameter(this BigInteger value, int length); public static void SetIgnoringObjectDisposed(this EventWaitHandle waitHandle); public static byte[] Take(this byte[] value, int offset, int count); public static byte[] Take(this byte[] value, int count); public static bool IsEqualTo(this byte[] left, byte[] right); public static byte[] TrimLeadingZeros(this byte[] value); public static byte[] Pad(this byte[] data, int length); public static byte[] Concat(this byte[] first, byte[] second); public static bool TryComputeHash(this HashAlgorithm hashAlgorithm, byte[] buffer, int offset, int count, Span<byte> destination, out int bytesWritten); } }