I will use the api in a uwp Project to use the Surface dial
After
private async void MainPage1_Loading(FrameworkElement sender, object args)
{
await DiscoverCore();
I got following exception
System.IO.FileNotFoundException: “Could not load file or assembly ‘System.Security.Permissions, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. Das System kann die angegebene Datei nicht finden.”
Nuget deliver only v4.4.0
After Install
System.IO.FileLoadException: “Could not load file or assembly ‘System.Security.Permissions, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”
Can you help ?
Daniel