Tag: Oxygene
-
Calculate the SHA1 hash of a file, using Delphi Prism
Read the article: Calculate the SHA1 hash of a file, using Delphi PrismThe next code show how calculate the SHA1 hash of a file, using Delphi Prism (Oxygene) [sourcecode language=”delphi” wraplines=”false”] uses System.IO, System.Security, System.Security.Cryptography; function CalcSHA1HashCode(oFile:String) : String; var sh1Provider :…
-
Detect if an antivirus software is installed in Windows using Delphi Prism
Read the article: Detect if an antivirus software is installed in Windows using Delphi PrismThe next code show how detect if an antivirus software is installed in Windows using Delphi Prism (Oxygene) and the WMI. [sourcecode language=”delphi”] uses System, System.Management, System.Text; type ConsoleApp =…
