()
| 32 | public static bool IsRunning => GetUxProcesses().Length > 0; |
| 33 | |
| 34 | public static string GetDir() |
| 35 | { |
| 36 | var procs = GetUxProcesses(); |
| 37 | if (procs.Length == 0) |
| 38 | return string.Empty; |
| 39 | |
| 40 | var found = procs[0]; |
| 41 | return Directory.GetParent(found.MainModule.FileName).FullName; |
| 42 | } |
| 43 | |
| 44 | public static async Task<string> Request(string api, string method, string body = null) |
| 45 | { |
nothing calls this directly
no outgoing calls
no test coverage detected