Lock file location can not be read from process when Lol run in Admin mode
Describe the bug If you start LOL via run as administrator, getting the MainModule of the process raises an exception. It turns out Riot has a page telling users to run in administrator mode. Our first beta tester was doing this (on advice of a coach).
If there's another way to reliably get the current folder to read the lockfile from (I tried it hardcoded), then the LCU API works correctly.
Hardcoding the lockfile path isn't a good solution though, as the user may have installed Lol in a different location.
What exception is raised? Does running the app that uses LCU Sharp as admin fix the problem?
I don't maintain this project, but feel free to submit a PR to handle the exception gracefully.