Discuss this help topic in SecureBlackbox Forum


TElPGPWriter     See also     

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

This event is fired when sfx-stub stream is needed.


    event TSBPGPGetStubStreamEvent OnGetStubStream;
    delegate void TSBPGPGetStubStreamEvent(Object Sender, out System.IO.Stream Stream, out bool FreeStub);

    Event OnGetStubStream As TSBPGPGetStubStreamEvent
    Delegate Sub TSBPGPGetStubStreamEvent(ByVal Sender As Object, Out Stream As System.IO.Stream, Out FreeStub As Boolean)

    property OnGetStubStream : TSBPGPGetStubStreamEvent;
    TSBPGPGetStubStreamEvent = procedure(Sender: TObject; var Stream: TStream; var FreeStub: boolean) of object;

    void get_OnGetStubStream(TSBPGPGetStubStreamEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetStubStream(TSBPGPGetStubStreamEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPGetStubStreamEvent)(void * _ObjectData, TObjectHandle Sender, TStreamHandle &Stream, int8_t &FreeStub);

    TSBPGPGetStubStreamEvent|callable|NULL get_OnGetStubStream()
    void set_OnGetStubStream(TSBPGPGetStubStreamEvent|callable|NULL $Value)
    callable TSBPGPGetStubStreamEvent(TObject $Sender, TStream &$Stream, bool &$FreeStub)


  • Stream - newly created stream to be used by the writer.
  • FreeStub - If True, the Stream will be destroyed by TElPGPWriter automatically.Otherwise, the stream should be destroyed by the application.


    This event is fired by TElPGPWriter when a stream is needed for sfx-stub. A newly created stream should be provided via Stream parameter.

See also:     StubSource    

Discuss this help topic in SecureBlackbox Forum