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

Renci.SshNet.Common.Extensions

static class Extensions
Collection of different extension methods.
namespace Renci.SshNet.Common { internal static class Extensions { public static BigInteger ToBigInteger2(this byte[] data); 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); } }