Installation
The MobbSign Windows SDK is distributed as a Visual Studio extension for Universal Windows Platform (UWP) apps, inside a ZIP file that also contains a sample application.
Requirements
- Windows
- 10 or later
- App type
- Universal Windows Platform (UWP)Built with Visual Studio.
- Architectures
x86x64ARM“Any CPU” is not supported.- License
- License keyBound to the package name of your app. Provided by Mobbeel.
- Encryption key
- Public key of your project
- Network
- Internet connectionOnly to validate the license the first time and when it is renewed.
The license key is generated for the package name of your app, declared in Package.appxmanifest (Packaging tab).
1. Install the extension
Run MobbSignUWP.vsix, in the libs folder of the distribution, and follow the steps of the installer. Then open your solution in Visual Studio and check in Extensions › Manage Extensions › Installed that MobbSign is installed.
2. Reference the SDK
Right-click your project in Solution Explorer and select Add › Reference… › Universal Windows › Extensions. Select MobbSign SDK for Windows Store apps.
The reference appears in the References folder of your project. If it shows a yellow warning icon, change the platform of the solution from Any CPU to x86, x64 or ARM.
3. Add the NuGet dependencies
Unload the project (right-click it in Solution Explorer › Unload Project), edit the project file and add this ItemGroup after the one that references Microsoft.NETCore.UniversalWindowsPlatform:
<ItemGroup>
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.11" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.23" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="PDFTron.UWP" Version="10.4.0" />
<PackageReference Include="PDFTron.UWP.Tools" Version="10.4.0" />
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
<PackageReference Include="WriteableBitmapEx" Version="1.6.8" />
</ItemGroup>
Reload the project, build it and check that the packages appear in the References folder.
4. Add the encryption key
Add the public key of your project to the Assets folder of your app, for example Assets/Keys/public.key.
Sample application
The samples folder of the distribution contains a ready-to-run project that loads a PDF and lets you sign it. Open it with Visual Studio, configure your license key and run it on your device.
Next step
Sign your first document in the Quick start.