Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Check if a file with this name should be treated as a binary executable, and is therefore subject to application reputation checks. Will return true if the filename's extension is either:
The filename to check.
Check if a file with this name should be treated as an executable, and should not be opened without caution. Will return true if the filename's extension is in sExecutableExts in nsLocalFileCommon.h.
The filename to check.
Start querying the application reputation service.
aCallback may not be null. onComplete is guaranteed to be called on aCallback. This function may not be called more than once with the same query object. If any of the attributes of aQuery have not been set or have been set with empty data (with the exception of sourceURI), then a valid request can still be constructed and will solicit a valid response, but won't produce any useful information.
The nsIApplicationReputationQuery containing metadata of the downloaded file.
The callback for receiving the results of the query.
Generated using TypeDoc
A service for asynchronously querying an application reputation service based on metadata of the downloaded file.