I want to ask for administrator permissions at runtime in my application, but I couldn't find anything, despite the googling and searching. I could only find posts regarding rights at startup, I found one but, it was valid for .NET Framework, I can't really use dNF, I am using .NET Core 5.
Anyhow, how do I demand it? Maybe call some C functions from Win32 API? My application is Windows only, that's why I mentioned that. (yes, but I still can't port over from .net 5)