Skip to main content

Installation

The Windows SDK is a NuGet package published on nuget.org as WiDas.Sdk.Windows. One package covers both target frameworks.

Requirements​

  • Windows 10 1607 (build 14393) or later on the machines you onboard. An MSIX package whose Broker returns the issuing CA needs Windows 10 1903 or later; see MSIX: let the issuing CA reach the real certificate store.
  • An app targeting .NET Framework 4.8 (net48) or .NET 10 (net10.0-windows)
  • An app that runs with full trust: a desktop app, or an MSIX package with runFullTrust. See Setup.

The package has no third-party dependencies. Both frameworks use Windows' own cryptography.

Add the package​

dotnet add package WiDas.Sdk.Windows --version 0.5.1

Or in your project file:

<ItemGroup>
<PackageReference Include="WiDas.Sdk.Windows" Version="0.5.1" />
</ItemGroup>

The package comes from nuget.org, which every .NET SDK already has as a package source. You don't need to add a feed or any credentials.

Import​

using WiDas.Sdk.Windows;
Having the package doesn't mean you can onboard

The package is public, so anyone can add it, but adding it grants no access. The SDK can't get a certificate on its own. Every certificate comes through your Broker, and your Broker has to be registered with Wi-DAS. Work through Setup before you expect Connect() to succeed.

Versioning​

The Windows SDK takes the same version as the iOS and Android SDKs, and all three release together. It's on 0.5.x for now. Until 1.0.0, a new minor version (0.6.0, say) can carry breaking changes. NuGet doesn't move you to a newer version on its own: a PackageReference to 0.5.1 restores 0.5.1 until you change it, so updating is always your choice. Every version is listed on the package's nuget.org page.

Using the SDK means accepting the Wi-DAS SDK License Agreement. The package includes no third-party components.

Older Windows​

net48 runs on Windows versions older than 1607, so your app can load the SDK there. The check happens at run time: on an older Windows, Connect() fails with entitlementMissing before it changes anything on the machine.

Next: Setup.