menu

Document Processing

HashCalculate Class - C# Excel Library API Reference | Syncfusion

    Show / Hide Table of Contents

    HashCalculate Class

    This is a helper class which creates an object hash value using Reflection.

    Inheritance
    System.Object
    HashCalculate
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public sealed class HashCalculate : Object

    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
    System.Object value

    Object which hash must be calculated.

    System.String[] skipProps

    Properties to skip.

    Returns
    Type Description
    System.Int32

    Calculated hash code.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved