HashesFileHashBytes Method |
This function returns hash of supplied file as byte array
Namespace:
TreeksLicensingLibrary2
Assembly:
TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax public static byte[] FileHashBytes(
string hash_type,
string file_name
)
Public Shared Function FileHashBytes (
hash_type As String,
file_name As String
) As Byte()
public:
static array<unsigned char>^ FileHashBytes(
String^ hash_type,
String^ file_name
)
static member FileHashBytes :
hash_type : string *
file_name : string -> byte[]
Parameters
- hash_type
- Type: SystemString
Hash algorithm to use: md5, sha1, sha256, sha512 - file_name
- Type: SystemString
Path to file
Return Value
Type:
ByteHash result byte array
Remarks See Also