WebShare
Example Code

How to use
Last updated
Was this helpful?

Last updated
Was this helpful?
Was this helpful?
var canShare = WebShare.CanShare();
//canShare is a Task<Object> with several properties:
//AsyncState, CancellationPending, CreationOptions, Exception, Id, Result, Status
if (canShare.Exception == null)
{
string title = "MDN";
string text = "Learn web development on MDN!";
string url = "https://developer.mozilla.org";
WebShare.ShareAsync(url, text, title);
}