Calling RegisterUrlScheme
will create a registry entry that will allow us to launch the application using a custom uri scheme.
With something like this below, we can always ensure that the application is always registered and if launched though the uri scheme, handle it appropriately.
This means that we can now click on links like myApp://
and embed the url anywhere. As the result in the c# client is a Uri, we can easily parse query strings and extract any parameters we may need.