Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redth/passkitsharp
C# / .NET Library for Reading and Writing PassKit files
https://github.com/redth/passkitsharp
Last synced: 23 days ago
JSON representation
C# / .NET Library for Reading and Writing PassKit files
- Host: GitHub
- URL: https://github.com/redth/passkitsharp
- Owner: Redth
- Created: 2012-10-11T12:29:19.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-19T21:31:49.000Z (about 12 years ago)
- Last Synced: 2024-10-13T15:08:11.455Z (25 days ago)
- Language: C#
- Size: 1.54 MB
- Stars: 22
- Watchers: 7
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
------```csharp
//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");
```