Exemple #1
0
 /// <summary>
 /// Returns CEF API hashes for the libcef library. The returned string is owned
 /// by the library and should not be freed. The |entry| parameter describes which
 /// hash value will be returned:
 /// 0 - CEF_API_HASH_PLATFORM
 /// 1 - CEF_API_HASH_UNIVERSAL
 /// 2 - CEF_COMMIT_HASH
 /// </summary>
 /// <remarks>
 /// See also the original CEF documentation in
 /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/cef_version.h">cef/include/cef_version.h</see>.
 /// </remarks>
 public static string ApiHash(int entry)
 {
     return(System.Runtime.InteropServices.Marshal.PtrToStringAnsi(CfxApi.cfx_api_hash(entry)));
 }