Help Center> Huawei HiLens> Developer Guide> Resource Management Module> Calculating the MD5 Values of Files
Updated on 2022-02-22 GMT+08:00

Calculating the MD5 Values of Files

This API is used to calculate the md5 values of files.

  • API calling

    hilens.md5_of_file(file)

  • Parameter description
    Table 1 Parameters

    Parameter

    Mandatory

    Type

    Description

    file

    Yes

    Character string

    Path of the file to be calculated.

  • Return value

    The md5 values of files are returned.