Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created September 1, 2020 09:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/36e1a109662f5a8475c759d67ab165b6 to your computer and use it in GitHub Desktop.
Save MartinZikmund/36e1a109662f5a8475c759d67ab165b6 to your computer and use it in GitHub Desktop.
var historyItems = await Clipboard.GetHistoryItemsAsync();
if (historyItems.Status == ClipboardHistoryItemsResultStatus.Success)
{
foreach (var item in historyItems.Items)
{
// ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment