Class ChecksumResult
Represents the result of a computed checksum operation.
Namespace: Cuemon.Integrity
Assembly: Cuemon.Core.dll
Syntax
public class ChecksumResult
Constructors
| Improve this DocChecksumResult(Byte[])
Initializes a new instance of the ChecksumResult class.
Declaration
public ChecksumResult(byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value | The checksum represented as a byte-array. |
Properties
| Improve this DocValue
Gets the original value that reflects a computed operation.
Declaration
public byte[] Value { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | The value original value that reflects a computed operation. |
Methods
| Improve this DocGetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
ToBase64()
Converts the Value to its equivalent string representation that is encoded with base-64 digits.
Declaration
public virtual string ToBase64()
Returns
Type | Description |
---|---|
System.String | A System.String representation, in base 64, of the contents of Value. |
ToBinary()
Converts the Value to its equivalent binary representation.
Declaration
public virtual string ToBinary()
Returns
Type | Description |
---|---|
System.String | A System.String representation, in binary, of the contents of Value. |
ToHexadecimal()
Converts the Value to its equivalent hexadecimal representation.
Declaration
public virtual string ToHexadecimal()
Returns
Type | Description |
---|---|
System.String | A System.String representation, in hexadecimal, of the contents of Value. |
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
ToUrlEncodedBase64()
Converts the Value to its equivalent string representation that is encoded with base-64 digits, which is usable for transmission on the URL.
Declaration
public virtual string ToUrlEncodedBase64()
Returns
Type | Description |
---|---|
System.String | A System.String representation, in base 64 which is usable for transmission on the URL, of the contents of Value. |