Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LockScreen.SetImageStreamAsync | setImageStreamAsync method

Sets the lock screen image from a data stream.

Syntax


Windows.System.UserProfile.LockScreen.setImageStreamAsync(value).done( /* Your success and error handlers */ );

Parameters

value

Type: IRandomAccessStream

The stream that contains the image data.

Return value

Type: IAsyncAction

The object used to set the lock screen image.

Requirements (device family)

Device family

Desktop

API contract

Windows.System.UserProfile.UserProfileContract, introduced version 1.0

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.System.UserProfile.UserProfileContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.winmd

See also

Personalization app sample
LockScreen
LockScreen.getImageStream
LockScreen.originalImageFile
LockScreen.setImageFileAsync
Lock screen overview

 

 

Show:
© 2015 Microsoft