OriginalStream Method (stream)

DTF API

Copy image CopyHover image
Deployment Tools Foundation OriginalStream Method (stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionDuplicateStreamOriginalStream(Stream)
Retrieves the original stream from a possible duplicate stream.
Declaration Syntax
C# Visual Basic Visual C++ F#
public static Stream OriginalStream(
	Stream stream
)
Public Shared Function OriginalStream ( 
	stream As Stream
) As Stream
public:
static Stream^ OriginalStream(
	Stream^ stream
)
static member OriginalStream : 
        stream : Stream -> Stream 
Parameters
stream (Stream)
Possible duplicate stream.
Return Value
Stream
If the stream is a DuplicateStream, returns the duplicate's source; otherwise returns the same stream.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)