Calling async function with `function().Wait()` works, but `async function()` crashes

I’m calling a 3rd party library from my C# code, and have found that ctx.CreateSiteAsync(communicationSiteInfo).Wait(); works well, while await ctx.CreateSiteAsync(communicationSiteInfo); causes the application to crash. As .Wait() to the best of my knowledge causes the thread to block, I’m interested inn getting the await approach to work. Here an extract from my code to put…

Details

Command to automate the differentiation SailfishOS+Alien Dalvik from an android device

EDIT0 : I have 3 smartphones : One Jolla1 smartphone with SailfishOS v3 + Alien Dalvik and 2 android smartphones. I want to be able to differentiate them in shell language : On my Jolla1 : $ grep ro.build.version.release /system/build.prop ro.build.version.release=4.1.2 $ getprop ro.build.version.release 4.1.2 $ uname -s Linux On one of my android smartphone…

Details