.NET CORE GET EXE PATH

System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName
Tender Turkey