Hi, I wonder if any one has any experience how to identify a compiled script or an EA.
When simply browsing the file content, I can spot the version and copyright strings. That is fine, but the weak point is, that I cannot identify the script, when its file name changed. So I wonder, if there is something like "original name" or similar identification signature accessible when browsing the file.
Do you mean keeping an external record of compiled binaries? Well, it could be, but it would require a track of all compiled versions, which might easily fail.
Probably easiest solution would be placing an original name into the copyright string. The cons are it looks very amateurishly.
Maybe tie it to
Date of the last
Simple comparison will make sure you work with the last modified file.
And if someone tries to hack or copy the file the saved date won't match the expected date so you can lock it down entirely with a messgbox warning or statement.
When you download the file, it gets assigned the download time anyway. And the current files have something like CRC against a simple tampering.
I did not mean a protection, but rather an identification of the binary file.
You can read url (property link) as well. And you can add file signature as a hash fragment to the url (after # sign). For example:
#property link "https://login.mql5.com/en/users/username#unique-string"
The unique string will not affect the link (page) availability. Additionally you may provide a page with a real anchor "unique-string" to pin-point some stuff related to specific file.