BigInteger MethodsSSH .NET Client Library Documentation
The BigInteger type exposes the following members.
Methods

  NameDescription
Public methodStatic memberAbs
Gets the absolute value of a System.Numerics.BigInteger object.
Public methodStatic memberAdd
Adds two System.Numerics.BigInteger values and returns the result.
Public methodStatic memberCompare
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 methodCompareTo(Int64)
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 methodCompareTo(Object)
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 methodCompareTo(UInt64)
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 methodCompareTo(BigInteger)
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 methodStatic memberDivide
Divides one System.Numerics.BigInteger value by another and returns the result.
Public methodStatic memberDivRem
Divides one System.Numerics.BigInteger value by another, returns the result, and returns the remainder in an output parameter.
Public methodEquals(Int64)
Returns a value that indicates whether the current instance and a signed 64-bit integer have the same value.
Public methodEquals(Object)
Returns a value that indicates whether the current instance and a specified object have the same value.
(Overrides OnlineValueType Equals(Object).)
Public methodEquals(UInt64)
Returns a value that indicates whether the current instance and an unsigned 64-bit integer have the same value.
Public methodEquals(BigInteger)
Returns a value that indicates whether the current instance and a specified System.Numerics.BigInteger object have the same value.
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetHashCode
Returns the hash code for the current System.Numerics.BigInteger object.
(Overrides OnlineValueType GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberGreatestCommonDivisor
Finds the greatest common divisor of two System.Numerics.BigInteger values.
Public methodStatic memberLog(BigInteger)
Returns the natural (base e) logarithm of a specified number.
Public methodStatic memberLog(BigInteger, Double)
Returns the logarithm of a specified number in a specified base.
Public methodStatic memberLog10
Returns the base 10 logarithm of a specified number.
Public methodStatic memberMax
Returns the larger of two System.Numerics.BigInteger values.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberMin
Returns the smaller of two System.Numerics.BigInteger values.
Public methodStatic memberModInverse
Mods the inverse.
Public methodStatic memberModPow
Performs modulus division on a number raised to the power of another number.
Public methodStatic memberMultiply
Returns the product of two System.Numerics.BigInteger values.
Public methodStatic memberNegate
Negates a specified System.Numerics.BigInteger value.
Public methodStatic memberParse(String, NumberStyles)
Converts the string representation of a number in a specified style to its System.Numerics.BigInteger equivalent.
Public methodStatic memberParse(String, IFormatProvider)
Converts the string representation of a number in a specified culture-specific format to its System.Numerics.BigInteger equivalent.
Public methodStatic memberParse(String, NumberStyles, IFormatProvider)
Converts the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent.
Public methodStatic memberPositiveMod
Returns positive remainder that results from division with two specified BigInteger values.
Public methodStatic memberPow
Raises a System.Numerics.BigInteger value to the power of a specified value.
Public methodStatic memberRandom
Generates random BigInteger number
Public methodStatic memberRemainder
Performs integer division on two System.Numerics.BigInteger values and returns the remainder.
Public methodStatic memberSubtract
Subtracts one System.Numerics.BigInteger value from another and returns the result.
Public methodToByteArray
Converts a System.Numerics.BigInteger value to a byte array.
Public methodToString 
Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation.
(Overrides OnlineValueType ToString .)
Public methodToString(IFormatProvider)
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 methodToString(String)
Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation by using the specified format.
Public methodToString(String, IFormatProvider)
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.
Public methodStatic memberTryParse(String, BigInteger )
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 methodStatic memberTryParse(String, NumberStyles, CultureInfo, BigInteger )
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.
Back to Top
See Also