知乎启动协议

之前收到其他开发者的建议,所以就做了知乎启动协议,开放给大家希望可以共同完善,有更好的建议也请告诉我!

启动代码:


 var options = new LauncherOptions();
 options.PreferredApplicationDisplayName = "知乎 - 与世界分享你的知识、经验和见解";
 options.PreferredApplicationPackageFamilyName = "42920yunfanchina.15046F36AA7E2_24n3fmj6qqchj";
 var uri = new Uri("zhihu:///questionId=29104305", UriKind.Absolute);
 //var uri = new Uri("zhihu:///answerId=43208021", UriKind.Absolute);
 //var uri = new Uri("zhihu:///articleId=27678998", UriKind.Absolute);
 //var uri = new Uri("zhihu:///topicId=20027044", UriKind.Absolute);
 //var uri = new Uri("zhihu:///roundtableId=jianshenrumen", UriKind.Absolute);
 //var uri = new Uri("zhihu:///collectionId=105000546", UriKind.Absolute);
 //var uri = new Uri("zhihu:///columnId=startup", UriKind.Absolute);
 //var uri = new Uri("zhihu:///bookId=119554784", UriKind.Absolute);
 var res = await Launcher.LaunchUriAsync(uri, options);

后续会加入授权登陆。

ZhuiMeng

The dark night gave me black eyes I use them to look for light

Subscribe to ZhuiMeng's Corner

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!