Skip to content

Instantly share code, notes, and snippets.

View robvanoostenrijk's full-sized avatar

Rob van Oostenrijk robvanoostenrijk

  • United Arab Emirates
View GitHub Profile
@tathamoddie
tathamoddie / LinkFormatting.cs
Last active February 13, 2017 15:01
How to invoke SkyDrive Pro's "Sync a new library" dialog from a webpage via the "grvopen" URI scheme
Uri BuildGrooveUri(Uri libraryUri)
{
const string grooveOpenUriTemplate = "grvopen://{0}/{1}/101?OPENLIST";
var uri = string.Format(
grooveOpenUriTemplate,
Encode(libraryUri.AbsoluteUri),
Encode(Guid.Empty.ToString())
);
return new Uri(uri);
}