-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager.RedeemTokenForFileAsync(System.String) |
winrt method |
Gets a file shared by another app by providing the sharing token received from the source app.
The sharing token for the shared file.
A wrapper object that contains the shared file.
When a source app shares a file with a target app, the target app calls the RedeemTokenForFileAsync method to get the shared file.
For a code sample, see SharedStorageAccessManager.