LockScreen.GetImageStream | getImageStream method
Gets the current lock screen image as a data stream.
Syntax
var iRandomAccessStream = Windows.System.UserProfile.LockScreen.getImageStream();
Parameters
This method has no parameters.
Return value
Type: IRandomAccessStream
The stream that contains the lock screen image data.
Remarks
This method can be called only by apps that have set the "Picture Library Access" capability in the package manifest or by the app that set this image on the lock screen.
Examples
The following example demonstrates this method being used to retrieve the current lock screen image. For a full sample, see the Personalization app sample.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
- LockScreen
- LockScreen.originalImageFile
- LockScreen.setImageFileAsync
- LockScreen.setImageStreamAsync
- Lock screen overview
Build date: 12/4/2012
