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.
| Method | Description |
|---|---|
| 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 |
|
|
Metadata |
|
See also
- FileRandomAccessStream
- InMemoryRandomAccessStream
- RandomAccessStreamOverStream
- RandomAccessStreamReference
Build date: 2/25/2013
