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

ObexClientSession Constructor 

Initializes a new instance of the ObexClientSession class using the given Stream and buffer size.

[Visual Basic]
Overloads Public Sub New( _
   ByVal stream As Stream, _
   ByVal bufferSize As Integer _
)
[C#]
public ObexClientSession(
   Stream stream,
   int bufferSize
);

Parameters

stream
A Stream that is connected to the peer OBEX server.
bufferSize
What size of buffer we will use to receive packets (PDUs) from the peer. The maximum size supported by OBEX is 65535, i.e. UInt16.MaxValue.

See Also

ObexClientSession Class | Brecham.Obex Namespace