LockScreen.GetImageStream | getImageStream method
Gets the current lock screen image as a data stream.
var iRandomAccessStream = Windows.System.UserProfile.LockScreen.getImageStream();
This method has no parameters.
The stream that contains the lock screen image data.
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.
The following example demonstrates this method being used to retrieve the current lock screen image. For a full sample, see the Personalization app sample.
Minimum supported client
Minimum supported server
|Windows Server 2012|
- Lock screen overview
Build date: 12/4/2012