FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Useful Dll for Inno Setup users (https://fileforums.com/showthread.php?t=95775)

rinaldo 02-04-2016 17:22

http://fileforums.com/images/icons/icon13.gif

peterf1999 03-04-2016 05:28

  • Renamed 'GetFileSHA1' function to 'GetFileHash'.
  • function prototype changes.
  • Added support for SHA512(SHA-2) hash algorithm to both functions (GetFileHash, CheckFileHash).
Code:

const
  DCP_MD5 = 1;
  DCP_SHA1 = 2;
  DCP_SHA256 = 4; // SHA-2
  DCP_SHA512 = 8; //SHA-2

Code:

function GetFileHash(const Filename: PAnsichar; const DCP_Hash: integer): PAnsichar; external 'GetFileHash@files:Isab.dll stdcall delayload';

peterf1999 06-04-2016 07:51

  • Renamed 'GetGpuRam' function to 'GetGpuVRam'.
  • Optimized WMI code and queries for faster retrieval of values.
  • Now the gpu's functions should work on multi-gpu configuration.

peterf1999 04-05-2016 01:36

1 Attachment(s)
SystemInfo (ISab.dll v0.1.0.4):
  • GetGpuName function returns all vga adapters (running and off line)

nizcoz 10-04-2017 05:02

Somebody can upload an example code to use this library to check hash after installation? Thanks!

pakrat2k2 24-05-2017 02:26

Quote:

Originally Posted by peterf1999 (Post 448816)
SystemInfo (ISab.dll v0.1.0.4):
  • GetGpuName function returns all vga adapters (running and off line)

still reports gpuram incorrectly, says on amd 8gb its has only 4gb

peterf1999 30-11-2017 09:26

@mods
Please delete this thread.

Gupta 30-11-2017 09:50

this thread is good for reading purposes, may be good to lock it rather

Grumpy 01-12-2017 16:00

Quote:

Originally Posted by peterf1999 (Post 464522)
@mods
Please delete this thread.

Why Peter? It is a very useful thread and you have put a lot of work into it, I can not see any point in Deleting it entirely, I could Lock the thread for you?


All times are GMT -7. The time now is 18:36.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com