This function returns hash of supplied file in hexadecimal format.
Namespace:
TreeksLicensingLibrary2
Assembly:
TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax public string iFileHash(
string hash_type,
string file_name
)
Public Function iFileHash (
hash_type As String,
file_name As String
) As String
public:
String^ iFileHash(
String^ hash_type,
String^ file_name
)
member iFileHash :
hash_type : string *
file_name : string -> string
Parameters
- hash_type
- Type: SystemString
Hash algorithm to use: md5, sha1, sha256, sha512 - file_name
- Type: SystemString
Path to file
Return Value
Type:
StringHash result represented in hexadecimal format
Remarks The "i" named functions are here to allow access to static members in COM applications. In .NET applications you can call static methods directly and don't need to instantiate this class.
See Also