0 out of 2 rated this helpful - Rate this topic

RandomAccessStream class

Provides random access of data in input and output streams.

Syntax


var randomAccessStream = new Windows.Storage.Streams.RandomAccessStream();

Attributes

MarshalingBehaviorAttribute(Agile)
MuseAttribute()
StaticAttribute(Windows.Storage.Streams.IRandomAccessStreamStatics, NTDDI_WIN8)
VersionAttribute(NTDDI_WIN8)

Members

The RandomAccessStream class has these types of members:

Methods

The RandomAccessStream class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
CopyAndCloseAsync Copies a source stream to a destination stream and waits for the copy operation to complete.
CopyAsync(IInputStream, IOutputStream) Copies a source stream to a destination stream.
CopyAsync(IInputStream, IOutputStream, UInt64) Copies the specified number of bytes from a source stream to a destination stream.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

FileRandomAccessStream
InMemoryRandomAccessStream
RandomAccessStreamOverStream
RandomAccessStreamReference

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.