Windows apps
Collapse the table of content
Expand the table of content
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.

MediaLibrary.SavePictureToCameraRoll Method

Saves the specified picture in the Windows Phone camera roll.

MediaLibrary.SavePictureToCameraRoll (String, Byte[]) Saves the specified byte array as a Picture in the Windows Phone camera roll.
MediaLibrary.SavePictureToCameraRoll (String, Stream) Saves the specified image Stream as a Picture in the Windows Phone camera roll.

Capabilities for Windows Phone

If you use this API in your Windows Phone app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_MEDIALIBWindows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone.

Community Additions

© 2017 Microsoft