Discuss this help topic in SecureBlackbox Forum

TElAuthenticodeVerifier.OpenStream

TElAuthenticodeVerifier     See also     


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


This method initializes signature verification or deletion procedure.

Declaration

[C#/Java]
    int OpenStream(System.IO.Stream Stream, bool OpenReadOnly /* = false */);

[VB.NET]
    Function OpenStream(ByVal Stream As System.IO.Stream, ByVal OpenReadOnly As Boolean = False) As Integer

[Pascal]
    function OpenStream(const Stream: TStream; OpenReadOnly: boolean = False): Integer;

[C++]
    int32_t OpenStream(TStream &Stream, bool OpenReadOnly);
    int32_t OpenStream(TStream *Stream, bool OpenReadOnly);

[PHP]
    integer OpenStream(TStream $Stream, bool $OpenReadOnly)

Parameters

  • Stream - stream containing the executable which signature has to be verified or deleted
  • OpenReadOnly - Specifies whether the stream 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 if you need to verify or delete the signature, and the executable is contained in a stream.

See also:     OpenFile    

Discuss this help topic in SecureBlackbox Forum