Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
C# / .NET Library for Reading and Writing PassKit files
C#
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
PassKitSharp.Sample
PassKitSharp.Tests
PassKitSharp
.gitattributes
.gitignore
PassKitSharp.sln Added Unit tests
README.md

README.md

PassKitSharp

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

It's currently not complete, although the parser is working on a basic level. The parser currently does not check the signature, but does verify the hashes in the manifest.json for validity.

Sample

//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");
Something went wrong with that request. Please try again.