Cuemon .NET Framework
FromStream(Stream) Method

The System.IO.Stream value to be converted.
Converts the specified value to a byte array always starting from position 0 (when supported).
Public Overloads Shared Function FromStream( _
   ByVal value As Stream _
) As Byte()
public static byte[] FromStream( 
   Stream value


The System.IO.Stream value to be converted.

Return Value

A byte array containing the data from the stream.

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


ByteConverter Class
ByteConverter Members
Overload List



| Cuemon is licensed under a The MIT License (MIT)

© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback