How do I bind to a Mac system framework

I'm in the proces of making an app for interacting with smartcards.
For that I'd like to use the CryptoTokenKit Framework which is standard on a Mac (located at /System/Library/Frameworks/CryptoTokenKit.framework).

I've created an ApiDefinition.cs file and a StrucsAndEnums.cs file using the following sharpie command:
sharpie bind -framework ./CryptoTokenKit.framework -sdk macosx10.13 -o ~/CryptoTokenKitBinding

I know you can add the framework as a 'Native Reference' in a Mac project.
I however can't find any info on the internet how to implement the above mentioned files and start using the framework.


Sign In or Register to comment.