{"id":1323,"date":"2013-03-06T10:20:56","date_gmt":"2013-03-06T10:20:56","guid":{"rendered":"http:\/\/www.navision-blog.de\/blog\/?p=1323"},"modified":"2013-03-06T11:12:12","modified_gmt":"2013-03-06T11:12:12","slug":"license-all-the-things-with-portable-licensing","status":"publish","type":"post","link":"http:\/\/www.navision-blog.de\/blog\/2013\/03\/06\/license-all-the-things-with-portable-licensing\/","title":{"rendered":"License all the things with Portable.Licensing 1.0"},"content":{"rendered":"<blockquote>\n<p>&quot;Portable.Licensing is a cross platform open source software licensing framework which allows you to implement licensing into your application or library.<\/p>\n<p>It is targeting the <em>Portable Class Library<\/em> and thus runs on nearly every <strong>.NET\/Mono<\/strong> profile including Silverlight, Windows Phone, Windows Store App, Xamarin.iOS, Xamarin.Android, Xamarin.Mac and XBox 360. Use it for your Desktop- (WinForms, WPF, etc.), Console-, Service-, Web- (ASP.NET, MVC, etc.), Mobile (Xamarin.iOS, Xamarin.Android) or even LightSwitch applications.&quot;<\/p>\n<p align=\"right\">[<a href=\"https:\/\/github.com\/dnauck\/Portable.Licensing\">Project site<\/a>]<\/p>\n<\/blockquote>\n<p>Yep, you read this correct. This project gives you a <strong>free<\/strong> licensing tool for all .NET\/mono platforms including stuff like Android and iOS. It\u2019s hosted on <a href=\"https:\/\/github.com\/dnauck\/Portable.Licensing\">github<\/a> and already on <a href=\"http:\/\/nuget.org\/packages\/portable.licensing\">nuget<\/a> and the <a href=\"http:\/\/components.xamarin.com\/view\/Portable.Licensing\/\">Xamarin store<\/a>, so it\u2019s pretty easy to use &#8211; even from F#.<\/p>\n<h5>Create a license<\/h5>\n<p>There is a really good documentation on the <a href=\"https:\/\/github.com\/dnauck\/Portable.Licensing\">github project page<\/a> (and there is even a sample implementation for a <a href=\"https:\/\/github.com\/dnauck\/License.Manager-Light\">License Manager app<\/a>), but just to give you a small glimpse:<\/p>\n<p> <script src=\"https:\/\/gist.github.com\/forki\/5098319.js\"><\/script>  <\/p>\n<p>Make sure to keep the private key private and distribute the public key with your app.<\/p>\n<h5>Validate a license<\/h5>\n<p> <script src=\"https:\/\/gist.github.com\/forki\/5098327.js\"><\/script>  <\/p>\n<p>So try it out and don\u2019t forget to thank <a href=\"http:\/\/de.linkedin.com\/in\/dnauck\">Daniel Nauck<\/a> for this awesome new tool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&quot;Portable.Licensing is a cross platform open source software licensing framework which allows you to implement licensing into your application or library. It is targeting the Portable Class Library and thus runs on nearly every .NET\/Mono profile including Silverlight, Windows Phone, Windows Store App, Xamarin.iOS, Xamarin.Android, Xamarin.Mac and XBox 360. Use it for your Desktop- (WinForms, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,448],"tags":[627,664,628,626],"_links":{"self":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/1323"}],"collection":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/comments?post=1323"}],"version-history":[{"count":6,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/1323\/revisions"}],"predecessor-version":[{"id":1330,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/1323\/revisions\/1330"}],"wp:attachment":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/media?parent=1323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/categories?post=1323"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/tags?post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}