Deployment Tools Foundation
OriginalStream Method (stream)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► DuplicateStream ► OriginalStream(Stream)
Retrieves the original stream from a possible duplicate stream.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static Stream OriginalStream( Stream stream )
Public Shared Function OriginalStream ( stream As Stream ) As Stream
public: static Stream^ OriginalStream( 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.
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.9.1006.0)