Discuss this help topic in SecureBlackbox Forum

TElAuthenticodeVerifier.OpenFile

TElAuthenticodeVerifier     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This method initializes signature verification or deletion procedure.

Declaration

[C#/Java]
    int OpenFile(string FileName, bool OpenReadOnly /* = false */);

[VB.NET]
    Function OpenFile(ByVal FileName As String, ByVal OpenReadOnly As Boolean = False) As Integer

[Pascal]
    function OpenFile(const FileName: string; OpenReadOnly: boolean = False): Integer;

[C++]
    int32_t OpenFile(const std::string &FileName, bool OpenReadOnly);

[PHP]
    integer OpenFile(string $FileName, bool $OpenReadOnly)

Parameters

  • FileName - file which signature has to be verified or deleted
  • OpenReadOnly - Specifies whether the file should be opened in read-only mode. This mode lets the executable open itself, however in this mode the signature can't be removed. Default value is False.

Return value

    Error code

Values:


Description

    Use this method to open the file, when you want to verify or delete file signature.

See also:     CloseFile    

Discuss this help topic in SecureBlackbox Forum