CustomProtectedStream.WriteAsync method
Writes data asynchronously to the backing file.
Implements the IOutputStream.WriteAsync method.
Syntax
public:
virtual
IAsyncOperationWithProgress<uint32, uint32>
WriteAsync(
IBuffer^ buffer
)
Parameters
-
buffer
-
Type: IBuffer
The buffer into which the asynchronous write operation writes.
Return value
Type: IAsyncOperationWithProgress<uint32, uint32>
The byte writer operation.
Remarks
Data written to the stream must be 16-byte aligned.
[!Warning]
To avoid data loss and/or corruption, FlushAsync must be called if you modify the created stream or before object disposal.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8.1 |
Namespace |
Microsoft::RightsManagement |
Metadata |
|