Forum Cross Platform with Xamarin

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

PassKitSharp - Library for Reading/Writing PassKit files

OldRedthOldRedth USMember, Insider ✭✭✭
edited October 2012 in Cross Platform with Xamarin

Hey all you devs interested in the Passbook/PassKit ecosystem: I'm proud to present to you PassKitSharp.

PassKitSharp is a C# / .NET Library for Reading and Writing PassKit files

GitHub Project: https://github.com/Redth/PassKitSharp

There's a few things missing right now (signing and verification of signatures, Localizations), however they should be added soon.

Sample Code:

//Parse an existing pkpass file
var pk = PassKit.Parse("C:\\pass.pkpass");

Console.WriteLine(pk.Barcode.Message);

//Write a pkpass file out
pk.Write("C:\\passout.pkpass", "C:\\pass-cert.p12");
Sign In or Register to comment.