Skip to content

SDK integration

Integrate Scytales IsoReader SDK in your own .NET 6 or later app

For .NET 6 or later the SDK is distributed as a nuget package called 'MdlIsoReaderDotNetSDK'. You can add the SDK into your Windows Desktop app (WinUI, WPF, Windows Forms) by referencing the package. An example WinUI project is available

Integrate Scytales IsoReader SDK in your own UWP app

The steps to include the SDK are: 1. Download SDK zip here and extract the DLL files. 2. Add reference to the 3 DLL files. (Click Reference, Add Reference, Browse... and select the files). 3. Add the required public nuget packages by adding the following item group in your .csproj file

  <ItemGroup>
    <PackageReference Version="6.2.14" Include="Microsoft.NETCore.UniversalWindowsPlatform"/>
    <PackageReference Version="7.1.2" Include="Microsoft.Toolkit.Uwp.UI.Controls"/>ß
    <PackageReference Version="7.1.2" Include="Microsoft.Toolkit.Uwp.UI.Controls.DataGrid"/>
    <PackageReference Version="2.4.1" Include="ZXing.Net.Mobile"/>
    <PackageReference Version="7.1.2" Include="Microsoft.Toolkit.Uwp.Connectivity"/>
    <PackageReference Include="Sentry" Version="3.19.0" />
    <PackageReference Include="Sentry.Extensions.Logging" Version="3.19.0" />
    <PackageReference Version="2.7.1" Include="Shiny"/>
    <PackageReference Version="2.7.1" Include="Shiny.BluetoothLE"/>
    <PackageReference Version="2.7.1" Include="Shiny.BluetoothLE.Hosting"/>
    <PackageReference Version="14.4.1" Include="Splat.Drawing"/>
    <PackageReference Include="Com.AugustCellars.COSE" Version="1.7.0" />
    <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
    <PackageReference Include="Microsoft.Toolkit.Mvvm" Version="7.1.2" />
    <PackageReference Include="PeterO.Cbor" Version="4.5.2" />
    <PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
    <PackageReference Include="System.Management" Version="6.0.0" />
    <PackageReference Include="System.Reactive.Linq" Version="5.0.0" />
    <PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0" />
    <PackageReference Include="System.Text.Json" Version="7.0.1" />
    <PackageReference Include="ThinkSharp.Licensing" Version="1.0.0" />
    <PackageReference Include="Xam.Reactive.DispatchScheduler" Version="1.1.3" />
    <PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
    <PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="2.2.0" />
    <PackageReference Include="jose-jwt" Version="4.0.0" />
    <PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
    <PackageReference Include="PeterO.Cbor" Version="4.5.2" />
    <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.21.0" />
    <PackageReference Include="Xtzp.Extensions" Version="2.0.2" />
  </ItemGroup>
  1. Call the initialization and request functions as described above. If the license is expired a dialog with error message will appear.
  2. Send a request license email to support@scytales.com providing your desired Username. If you want the license to be bound with a specific Windows machine, get the hardware ID by calling HardwareIdentifier.ForCurrentComputer() function from the nuget package ThinkSharp.Licensing.
  3. In you source code, enter your username into the UserName and the license string into the LicenseText initialization parameters. License details in code.
  4. From Build settings, uncheck .net Native tool chain for Release builds. Uncheck .net Native flag.