The Clipboard class lets you copy and paste text to the system clipboard between applications.
Add a reference to Xamarin.Essentials in your class:
To check if the Clipboard has text currently ready to be pasted:
var hasText = Clipboard.HasText;
To set text to the Clipboard:
To read text from the Clipboard:
var text = await Clipboard.GetTextAsync();