Class HashCalculate
This is a helper class which creates an object hash value using Reflection.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public sealed class HashCalculate
Methods
CalculateHash(object, string[])
Method calculates hash for any object. Method serializes object properties to string using Reflection and returns hash of created string.
Declaration
public static int CalculateHash(object value, string[] skipProps)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | Object which hash must be calculated. |
| string[] | skipProps | Properties to skip. |
Returns
| Type | Description |
|---|---|
| int | Calculated hash code. |