Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToString()

override string System.Diagnostics.Process.ToString ( )
inline

Definition at line 1296 of file Process.cs.

1297 {
1298 string text = base.ToString();
1299 try
1300 {
1301 if (Associated)
1302 {
1303 if (_processInfo == null)
1304 {
1305 _processInfo = ProcessManager.GetProcessInfo(_processId, _machineName);
1306 }
1307 if (_processInfo != null)
1308 {
1310 if (processName.Length != 0)
1311 {
1312 text = text + " (" + processName + ")";
1313 }
1314 }
1315 }
1316 }
1317 catch
1318 {
1319 }
1320 return text;
1321 }

References System.Diagnostics.Process._machineName, System.Diagnostics.Process._processId, System.Diagnostics.Process._processInfo, System.Diagnostics.Process.Associated, System.Diagnostics.ProcessManager.GetProcessInfo(), System.Diagnostics.ProcessInfo.ProcessName, and System.text.