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

Renci.SshNet.Common.BigInteger

Represents an arbitrarily large signed integer.
namespace Renci.SshNet.Common { public struct BigInteger : IComparable, IFormattable, IComparable<BigInteger>, IEquatable<BigInteger> { public int BitLength { get; } public bool IsEven { get; } public bool IsOne { get; } public bool IsPowerOfTwo { get; } public bool IsZero { get; } public int Sign { get; } public static BigInteger MinusOne { get; } public static BigInteger One { get; } public static BigInteger Zero { get; } public static BigInteger ModInverse(BigInteger bi, BigInteger modulus); public static BigInteger PositiveMod(BigInteger dividend, BigInteger divisor); public static BigInteger Random(int bitLength); public BigInteger(int value); public BigInteger(uint value); public BigInteger(long value); public BigInteger(ulong value); public BigInteger(double value); public BigInteger(float value); public BigInteger(decimal value); public BigInteger(byte[] value); public static explicit operator int(BigInteger value); public static explicit operator uint(BigInteger value); public static explicit operator short(BigInteger value); public static explicit operator ushort(BigInteger value); public static explicit operator byte(BigInteger value); public static explicit operator sbyte(BigInteger value); public static explicit operator long(BigInteger value); public static explicit operator ulong(BigInteger value); public static explicit operator double(BigInteger value); public static explicit operator float(BigInteger value); public static explicit operator decimal(BigInteger value); public static implicit operator BigInteger(int value); public static implicit operator BigInteger(uint value); public static implicit operator BigInteger(short value); public static implicit operator BigInteger(ushort value); public static implicit operator BigInteger(byte value); public static implicit operator BigInteger(sbyte value); public static implicit operator BigInteger(long value); public static implicit operator BigInteger(ulong value); public static explicit operator BigInteger(double value); public static explicit operator BigInteger(float value); public static explicit operator BigInteger(decimal value); public static BigInteger operator +(BigInteger left, BigInteger right); public static BigInteger operator -(BigInteger left, BigInteger right); public static BigInteger operator *(BigInteger left, BigInteger right); public static BigInteger operator /(BigInteger dividend, BigInteger divisor); public static BigInteger operator %(BigInteger dividend, BigInteger divisor); public static BigInteger operator -(BigInteger value); public static BigInteger operator +(BigInteger value); public static BigInteger operator ++(BigInteger value); public static BigInteger operator --(BigInteger value); public static BigInteger operator &(BigInteger left, BigInteger right); public static BigInteger operator |(BigInteger left, BigInteger right); public static BigInteger operator ^(BigInteger left, BigInteger right); public static BigInteger operator ~(BigInteger value); public static BigInteger operator <<(BigInteger value, int shift); public static BigInteger operator >>(BigInteger value, int shift); public static bool operator <(BigInteger left, BigInteger right); public static bool operator <(BigInteger left, long right); public static bool operator <(long left, BigInteger right); public static bool operator <(BigInteger left, ulong right); public static bool operator <(ulong left, BigInteger right); public static bool operator <=(BigInteger left, BigInteger right); public static bool operator <=(BigInteger left, long right); public static bool operator <=(long left, BigInteger right); public static bool operator <=(BigInteger left, ulong right); public static bool operator <=(ulong left, BigInteger right); public static bool operator >(BigInteger left, BigInteger right); public static bool operator >(BigInteger left, long right); public static bool operator >(long left, BigInteger right); public static bool operator >(BigInteger left, ulong right); public static bool operator >(ulong left, BigInteger right); public static bool operator >=(BigInteger left, BigInteger right); public static bool operator >=(BigInteger left, long right); public static bool operator >=(long left, BigInteger right); public static bool operator >=(BigInteger left, ulong right); public static bool operator >=(ulong left, BigInteger right); public static bool operator ==(BigInteger left, BigInteger right); public static bool operator ==(BigInteger left, long right); public static bool operator ==(long left, BigInteger right); public static bool operator ==(BigInteger left, ulong right); public static bool operator ==(ulong left, BigInteger right); public static bool operator !=(BigInteger left, BigInteger right); public static bool operator !=(BigInteger left, long right); public static bool operator !=(long left, BigInteger right); public static bool operator !=(BigInteger left, ulong right); public static bool operator !=(ulong left, BigInteger right); public bool Equals(BigInteger other); public bool Equals(long other); public string ToString(string format); public string ToString(IFormatProvider provider); public string ToString(string format, IFormatProvider provider); public static BigInteger Parse(string value); public static BigInteger Parse(string value, NumberStyles style); public static BigInteger Parse(string value, IFormatProvider provider); public static BigInteger Parse(string value, NumberStyles style, IFormatProvider provider); public static bool TryParse(string value, out BigInteger result); public static bool TryParse(string value, NumberStyles style, IFormatProvider provider, out BigInteger result); public static BigInteger Min(BigInteger left, BigInteger right); public static BigInteger Max(BigInteger left, BigInteger right); public static BigInteger Abs(BigInteger value); public static BigInteger DivRem(BigInteger dividend, BigInteger divisor, out BigInteger remainder); public static BigInteger Pow(BigInteger value, int exponent); public static BigInteger ModPow(BigInteger value, BigInteger exponent, BigInteger modulus); public static BigInteger GreatestCommonDivisor(BigInteger left, BigInteger right); public static double Log(BigInteger value, double baseValue); public static double Log(BigInteger value); public static double Log10(BigInteger value); public bool Equals(ulong other); public static BigInteger Add(BigInteger left, BigInteger right); public static BigInteger Subtract(BigInteger left, BigInteger right); public static BigInteger Multiply(BigInteger left, BigInteger right); public static BigInteger Divide(BigInteger dividend, BigInteger divisor); public static BigInteger Remainder(BigInteger dividend, BigInteger divisor); public static BigInteger Negate(BigInteger value); public int CompareTo(object obj); public int CompareTo(BigInteger other); public int CompareTo(ulong other); public int CompareTo(long other); public static int Compare(BigInteger left, BigInteger right); public byte[] ToByteArray(); } }