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

BigInteger

Represents an arbitrarily large signed integer.
public static BigInteger MinusOne { get; }

Gets a value that represents the number negative one (-1).

public static BigInteger One { get; }

Gets a value that represents the number one (1).

public static BigInteger Zero { get; }

Gets a value that represents the number 0 (zero).

public int BitLength { get; }

Gets number of bits used by the number.

public bool IsEven { get; }

Indicates whether the value of the current System.Numerics.BigInteger object is an even number.

public bool IsOne { get; }

Indicates whether the value of the current System.Numerics.BigInteger object is System.Numerics.BigInteger.One.

public bool IsPowerOfTwo { get; }

Indicates whether the value of the current System.Numerics.BigInteger object is a power of two.

public bool IsZero { get; }

Indicates whether the value of the current System.Numerics.BigInteger object is System.Numerics.BigInteger.Zero.

public int Sign { get; }

Gets a number that indicates the sign (negative, positive, or zero) of the current System.Numerics.BigInteger object.

public BigInteger(short sign, uint[] data)

Initializes a new instance of the BigInteger struct.

public BigInteger(int value)

Initializes a new instance of the BigInteger struct.

public BigInteger(uint value)

Initializes a new instance of the BigInteger struct.

public BigInteger(long value)

Initializes a new instance of the BigInteger struct.

public BigInteger(ulong value)

Initializes a new instance of the BigInteger struct.

public BigInteger(double value)

Initializes a new instance of the BigInteger struct.

public BigInteger(float value)

Initializes a new instance of the BigInteger struct.

public BigInteger(decimal value)

Initializes a new instance of the BigInteger struct.

public BigInteger(byte[] value)

Initializes a new instance of the BigInteger struct.

public static BigInteger Abs(BigInteger value)

Gets the absolute value of a System.Numerics.BigInteger object.

public static BigInteger Add(BigInteger left, BigInteger right)

Adds two System.Numerics.BigInteger values and returns the result.

public static int Compare(BigInteger left, BigInteger right)

Compares two System.Numerics.BigInteger values and returns an integer that indicates whether the first value is less than, equal to, or greater than the second value.

public static BigInteger Divide(BigInteger dividend, BigInteger divisor)

Divides one System.Numerics.BigInteger value by another and returns the result.

public static BigInteger DivRem(BigInteger dividend, BigInteger divisor, out BigInteger remainder)

Divides one System.Numerics.BigInteger value by another, returns the result, and returns the remainder in an output parameter.

Finds the greatest common divisor of two System.Numerics.BigInteger values.

public static double Log(BigInteger value, double baseValue)

Returns the logarithm of a specified number in a specified base.

public static double Log(BigInteger value)

Returns the natural (base e) logarithm of a specified number.

public static double Log10(BigInteger value)

Returns the base 10 logarithm of a specified number.

public static BigInteger Max(BigInteger left, BigInteger right)

Returns the larger of two System.Numerics.BigInteger values.

public static BigInteger Min(BigInteger left, BigInteger right)

Returns the smaller of two System.Numerics.BigInteger values.

public static BigInteger ModInverse(BigInteger bi, BigInteger modulus)

Mods the inverse.

public static BigInteger ModPow(BigInteger value, BigInteger exponent, BigInteger modulus)

Performs modulus division on a number raised to the power of another number.

public static BigInteger Multiply(BigInteger left, BigInteger right)

Returns the product of two System.Numerics.BigInteger values.

public static BigInteger Negate(BigInteger value)

Negates a specified System.Numerics.BigInteger value.

public static BigInteger op_Addition(BigInteger left, BigInteger right)

Adds the values of two specified BigInteger objects.

public static BigInteger op_BitwiseAnd(BigInteger left, BigInteger right)

Performs a bitwise And operation on two BigInteger values.

public static BigInteger op_BitwiseOr(BigInteger left, BigInteger right)

Performs a bitwise Or operation on two BigInteger values.

public static BigInteger op_Decrement(BigInteger value)

Decrements a BigInteger value by 1.

public static BigInteger op_Division(BigInteger dividend, BigInteger divisor)

Divides a specified BigInteger value by another specified BigInteger value by using integer division.

public static bool op_Equality(BigInteger left, BigInteger right)

Returns a value that indicates whether the values of two System.Numerics.BigInteger objects are equal.

public static bool op_Equality(BigInteger left, long right)

Returns a value that indicates whether a System.Numerics.BigInteger value and a signed long integer value are equal.

public static bool op_Equality(long left, BigInteger right)

Returns a value that indicates whether a signed long integer value and a System.Numerics.BigInteger value are equal.

public static bool op_Equality(BigInteger left, ulong right)

Returns a value that indicates whether a System.Numerics.BigInteger value and an unsigned long integer value are equal.

public static bool op_Equality(ulong left, BigInteger right)

Returns a value that indicates whether an unsigned long integer value and a System.Numerics.BigInteger value are equal.

public static BigInteger op_ExclusiveOr(BigInteger left, BigInteger right)

Performs a bitwise exclusive Or (XOr) operation on two BigInteger values.

public static int op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to a 32-bit signed integer value.

public static uint op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned 32-bit integer value.

public static short op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to a 16-bit signed integer value.

public static ushort op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned 16-bit integer value.

public static byte op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned byte value.

public static sbyte op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to a signed 8-bit value.

public static long op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to a 64-bit signed integer value.

public static ulong op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned 64-bit integer value.

public static double op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to a Double value.

public static float op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to a single-precision floating-point value.

public static decimal op_Explicit(BigInteger value)

Defines an explicit conversion of a System.Numerics.BigInteger object to a Decimal value.

public static BigInteger op_Explicit(double value)

Defines an explicit conversion of a Double value to a System.Numerics.BigInteger value.

public static BigInteger op_Explicit(float value)

Defines an explicit conversion of a Single object to a System.Numerics.BigInteger value.

public static BigInteger op_Explicit(decimal value)

Defines an explicit conversion of a Decimal object to a System.Numerics.BigInteger value.

public static bool op_GreaterThan(BigInteger left, BigInteger right)

Returns a value that indicates whether a System.Numerics.BigInteger value is greater than another System.Numerics.BigInteger value.

public static bool op_GreaterThan(BigInteger left, long right)

Returns a value that indicates whether a System.Numerics.BigInteger is greater than a 64-bit signed integer value.

public static bool op_GreaterThan(long left, BigInteger right)

Returns a value that indicates whether a 64-bit signed integer is greater than a System.Numerics.BigInteger value.

public static bool op_GreaterThan(BigInteger left, ulong right)

Returns a value that indicates whether a System.Numerics.BigInteger value is greater than a 64-bit unsigned integer.

public static bool op_GreaterThan(ulong left, BigInteger right)

Returns a value that indicates whether a System.Numerics.BigInteger value is greater than a 64-bit unsigned integer.

public static bool op_GreaterThanOrEqual(BigInteger left, BigInteger right)

Returns a value that indicates whether a System.Numerics.BigInteger value is greater than or equal to another System.Numerics.BigInteger value.

public static bool op_GreaterThanOrEqual(BigInteger left, long right)

Returns a value that indicates whether a System.Numerics.BigInteger value is greater than or equal to a 64-bit signed integer value.

public static bool op_GreaterThanOrEqual(long left, BigInteger right)

Returns a value that indicates whether a 64-bit signed integer is greater than or equal to a System.Numerics.BigInteger value.

public static bool op_GreaterThanOrEqual(BigInteger left, ulong right)

Returns a value that indicates whether a System.Numerics.BigInteger value is greater than or equal to a 64-bit unsigned integer value.

public static bool op_GreaterThanOrEqual(ulong left, BigInteger right)

Returns a value that indicates whether a 64-bit unsigned integer is greater than or equal to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(int value)

Defines an implicit conversion of a signed 32-bit integer to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(uint value)

Defines an implicit conversion of a 32-bit unsigned integer to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(short value)

Defines an implicit conversion of a signed 16-bit integer to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(ushort value)

Defines an implicit conversion of a 16-bit unsigned integer to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(byte value)

Defines an implicit conversion of an unsigned byte to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(sbyte value)

Defines an implicit conversion of an 8-bit signed integer to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(long value)

Defines an implicit conversion of a signed 64-bit integer to a System.Numerics.BigInteger value.

public static BigInteger op_Implicit(ulong value)

Defines an implicit conversion of a 64-bit unsigned integer to a System.Numerics.BigInteger value.

public static BigInteger op_Increment(BigInteger value)

Increments a BigInteger value by 1.

public static bool op_Inequality(BigInteger left, BigInteger right)

Returns a value that indicates whether two BigInteger objects have different values.

public static bool op_Inequality(BigInteger left, long right)

Returns a value that indicates whether a BigInteger value and a 64-bit signed integer are not equal.

public static bool op_Inequality(long left, BigInteger right)

Returns a value that indicates whether a 64-bit signed integer and a BigInteger value are not equal.

public static bool op_Inequality(BigInteger left, ulong right)

Returns a value that indicates whether a BigInteger value and a 64-bit unsigned integer are not equal.

public static bool op_Inequality(ulong left, BigInteger right)

Returns a value that indicates whether a 64-bit unsigned integer and a BigInteger value are not equal.

public static BigInteger op_LeftShift(BigInteger value, int shift)

Shifts a BigInteger value a specified number of bits to the left.

public static bool op_LessThan(BigInteger left, BigInteger right)

Returns a value that indicates whether a BigInteger value is less than another BigInteger value.

public static bool op_LessThan(BigInteger left, long right)

Returns a value that indicates whether a BigInteger value is less than a 64-bit signed integer.

public static bool op_LessThan(long left, BigInteger right)

Returns a value that indicates whether a 64-bit signed integer is less than a BigInteger value.

public static bool op_LessThan(BigInteger left, ulong right)

Returns a value that indicates whether a BigInteger value is less than a 64-bit unsigned integer.

public static bool op_LessThan(ulong left, BigInteger right)

Returns a value that indicates whether a 64-bit unsigned integer is less than a BigInteger value.

public static bool op_LessThanOrEqual(BigInteger left, BigInteger right)

Returns a value that indicates whether a System.Numerics.BigInteger value is less than or equal to another System.Numerics.BigInteger value.

public static bool op_LessThanOrEqual(BigInteger left, long right)

Returns a value that indicates whether a System.Numerics.BigInteger value is less than or equal to a 64-bit signed integer.

public static bool op_LessThanOrEqual(long left, BigInteger right)

Returns a value that indicates whether a 64-bit signed integer is less than or equal to a System.Numerics.BigInteger value.

public static bool op_LessThanOrEqual(BigInteger left, ulong right)

Returns a value that indicates whether a System.Numerics.BigInteger value is less than or equal to a 64-bit unsigned integer.

public static bool op_LessThanOrEqual(ulong left, BigInteger right)

Returns a value that indicates whether a 64-bit unsigned integer is less than or equal to a System.Numerics.BigInteger value.

public static BigInteger op_Modulus(BigInteger dividend, BigInteger divisor)

Returns the remainder that results from division with two specified BigInteger values.

public static BigInteger op_Multiply(BigInteger left, BigInteger right)

Multiplies two specified BigInteger values.

Returns the bitwise one's complement of a BigInteger value.

public static BigInteger op_RightShift(BigInteger value, int shift)

Shifts a System.Numerics.BigInteger value a specified number of bits to the right.

public static BigInteger op_Subtraction(BigInteger left, BigInteger right)

Subtracts a BigInteger value from another BigInteger value.

public static BigInteger op_UnaryNegation(BigInteger value)

Negates a specified BigInteger value.

public static BigInteger op_UnaryPlus(BigInteger value)

Returns the value of the BigInteger operand. (The sign of the operand is unchanged.)

public static BigInteger Parse(string value, NumberStyles style, IFormatProvider provider)

Converts the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent.

public static BigInteger Parse(string value, IFormatProvider provider)

Converts the string representation of a number in a specified culture-specific format to its System.Numerics.BigInteger equivalent.

public static BigInteger Parse(string value, NumberStyles style)

Converts the string representation of a number in a specified style to its System.Numerics.BigInteger equivalent.

public static BigInteger PositiveMod(BigInteger dividend, BigInteger divisor)

Returns positive remainder that results from division with two specified BigInteger values.

public static BigInteger Pow(BigInteger value, int exponent)

Raises a System.Numerics.BigInteger value to the power of a specified value.

public static BigInteger Random(int bitLength)

Generates random BigInteger number

public static BigInteger Remainder(BigInteger dividend, BigInteger divisor)

Performs integer division on two System.Numerics.BigInteger values and returns the remainder.

public static BigInteger Subtract(BigInteger left, BigInteger right)

Subtracts one System.Numerics.BigInteger value from another and returns the result.

public static bool TryParse(string value, NumberStyles style, CultureInfo cultureInfo, out BigInteger result)

Tries to convert the string representation of a number in a specified style and culture-specific format to its System.Numerics.BigInteger equivalent, and returns a value that indicates whether the conversion succeeded.

public static bool TryParse(string value, out BigInteger result)

Tries to convert the string representation of a number to its System.Numerics.BigInteger equivalent, and returns a value that indicates whether the conversion succeeded.

public int CompareTo(object obj)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(BigInteger other)

Compares this instance to a second System.Numerics.BigInteger and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.

public int CompareTo(ulong other)

Compares this instance to an unsigned 64-bit integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the unsigned 64-bit integer.

public int CompareTo(long other)

Compares this instance to a signed 64-bit integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the signed 64-bit integer.

public bool Equals(BigInteger other)

Returns a value that indicates whether the current instance and a specified System.Numerics.BigInteger object have the same value.

public bool Equals(long other)

Returns a value that indicates whether the current instance and a signed 64-bit integer have the same value.

public bool Equals(ulong other)

Returns a value that indicates whether the current instance and an unsigned 64-bit integer have the same value.

public byte[] ToByteArray()

Converts a System.Numerics.BigInteger value to a byte array.

public string ToString(IFormatProvider provider)

Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation by using the specified culture-specific formatting information.

public string ToString(string format)

Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation by using the specified format.

public string ToString(string format, IFormatProvider provider)

Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation by using the specified format and culture-specific format information.