Checksum Struct
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9119)
Represents data checksum.
Syntax
public struct Checksum : IComparable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
Checksum(ChecksumAlgorithm, Byte[]) | Creates an instance of an object that represents data checksum. |
Properties
Name | Description |
---|---|
Algorithm | Returns checksum algorithm. |
Value | Returns a hex string representation of the checksum. |
Methods
Name | Description |
---|---|
CompareTo(Object) | Compares the checksum with another object of the same type and returns a value indicating whether the current instance precedes, follows or occurs in the same position in the sort order. |
Equals(Object) | Returns a value indicating whether the specified object is equal to this checksum. |
GetBytes() | Returns checksum data. |
GetHashCode() | Returns the hash code for this checksum. |
ToString() | Returns a hex string representation of this checksum. |
Operators
Name | Description |
---|---|
Implicit(Checksum to String) | Implicit conversion from Checksum to string. |