This folder contains an example of how you can protect your SDK and how your customers (developers using the SDK). Below is a description of the folders:
- SDKExample - This is a sample SDK (targeting .NET Standard 2.0) that we want to protect. Inside
SDKExample, you can find the solution file that will also load
- SoftwareUsingSDK - This project (targeting .NET Core 2.2) will call methods from
SDKExample. It's important to sign this assembly, which we cover later.
- AssemblySigner - This project contains the Assembly Signer command line util with a demo
To test the
- Go to
SDKExamplefolder and open
SDKExample.slnin Visual Studio.
- Go to
AssemblySignerfolder and run the command below:
dotnet AssemblySigner.dll ..\SoftwareUsingSDK\bin\Debug\netcoreapp2.2\build.json
- Compile and run the
If you have any questions, please reach out to us at email@example.com!