Supporting the sharing contract
Sharing is one of the most common actions you perform on your computer. You don't always realize it because you do it multiple times per day, but when you copy some content and you paste it into another application, you're effectively sharing data across two different applications. However, there might be scenarios where a copy and paste might be fully effective: for example, you're copying a URL or some other complex data and you would like the other application to understand it and treat it in the proper way.
To make this scenario more effective, Windows 10 has introduced a sharing contract, which acts as a standard way to share specific types of data (such as images, texts, and links) across different applications. Being a contract, it means that the two applications don't need to know each other:
- The source application will use the sharing APIs to share data, using one of the specific formats supported by the contract...