Gets the file version of a given file.
Added in 2.1.10 |
Syntax
Result = SRP_Get_FileVersion(FilePath) |
The four-part file version number, e.g, 2.1.10.4.
Parameter | Description |
---|---|
FilePath | The path to the file whose file version to get |
The SRP_Get_FileVersion method returns the file version for a given file. Specifically, this method gets the FILEVERSION property of window's file. You can pass a full path or a relative one.
// Get the file version number for OI Version = SRP_Get_FileVersion("oinsight.exe") |