Brecham.Obex — An OBEX library for the .NET Framework

ObexClientSession.GetTo Method (Stream, ObexHeaderCollection)

Gets the object identified by the given collection of metadata, and writes the content to the given Stream.

[Visual Basic]
Overloads Public Sub GetTo( _
   ByVal destination As Stream, _
   ByVal headers As ObexHeaderCollection _
)
[C#]
public void GetTo(
   Stream destination,
   ObexHeaderCollection headers
);

Parameters

destination
The Stream to which the content will be written.
headers
[Advanced usage] A ObexHeaderCollection containing any metadata to be sent in the request for the content, such as Name, Time etc. Any Connection Id will be added automatically.

Example

See GetTo

See Also

ObexClientSession Class | Brecham.Obex Namespace | ObexClientSession.GetTo Overload List