DicomObjects.NET.8.48 Documentation
DicomObjects.EventArguments Namespace / ReceivingPixelDataArgs Class / ReceiveToStream Method
User-provided Stream object






    ReceiveToStream Method
    Write the data received so far to a user-provided stream, and then pass received pixel data direct to that stream, without holding it all in memory
    Syntax
    'Declaration
     
    
    Public Sub ReceiveToStream( _
       ByVal stream As System.IO.Stream _
    ) 
     
    'Usage
     
    
    Dim instance As ReceivingPixelDataArgs
    Dim stream As System.IO.Stream
     
    instance.ReceiveToStream(stream)

    Parameters

    stream
    User-provided Stream object
    Remarks

    The transfer syntax used for the stream is always the same as that received over the network

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also