g_file_create_checksum


Description:


[ Version ( since = "4.17" ) ]
public string? g_file_create_checksum (File file, Cancellable? cancellable = null) throws Error

Generates an SHA-256 hash of the file.

Parameters:

file

a File.

cancellable

optional Cancellable object, null to ignore.

Returns:

Checksum of the file. If file read fails, returns null. Free with g_free.


Namespace: Xfce