Discuss this help topic in SecureBlackbox Forum

TElDCAsyncState.SaveToStream

TElDCAsyncState     See also     


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


Saves the state to a stream.

Declaration

[C#]
    void SaveToStream(System.IO.Stream Stream, TElDCEncoding Encoding);

[VB.NET]
    Sub SaveToStream(ByVal Stream As System.IO.Stream, ByVal Encoding As TElDCEncoding)

[Pascal]
    procedure SaveToStream(Stream : TStream; Encoding : TElDCEncoding);

[C++]
    void SaveToStream(TStream &Stream, TElDCEncoding &Encoding);
    void SaveToStream(TStream *Stream, TElDCEncoding *Encoding);

[PHP]
    void SaveToStream(TStream $Stream, TElDCEncoding $Encoding)

[Java]
    void saveToStream(TElStream Stream, TElDCEncoding Encoding);

Parameters

  • Stream - The stream where the state data should be saved.
  • Encoding - Encoding of the data in the stream.

Description

    Call this method to save the state of the asynchronous DC operation to a stream.

Use DCXMLEncoding() function to get the default encoding and pass it as the Encoding parameter. You can also use another encoding object, if needed. DCXMLEncoding() is declared in SBDCXMLEnc unit/namespace and is called as SBDCXMLEnc.Unit.DCXMLEncoding() in .NET and as SBDCXMLEnc.DCXMLEncoding() in other editions.

See also:     LoadFromStream    

Discuss this help topic in SecureBlackbox Forum