(string filename)
| 77 | } |
| 78 | |
| 79 | public static void OpenFileWithDefaultApp(string filename) |
| 80 | { |
| 81 | string path = Path.GetFullPath(filename); |
| 82 | if (!File.Exists(path)) return; |
| 83 | Process p = new () |
| 84 | { |
| 85 | StartInfo = new ProcessStartInfo(path) { UseShellExecute = true } |
| 86 | }; |
| 87 | p.Start(); |
| 88 | } |
| 89 | |
| 90 | } |
| 91 | } |
no outgoing calls
no test coverage detected