1 write to ParentProcess
dotnet (1)
Installer\Windows\InstallerBase.cs (1)
199ParentProcess = CurrentProcess.GetParentProcess();
6 references to ParentProcess
dotnet (6)
Commands\Workload\Install\MsiInstallerBase.cs (1)
70protected static bool IsParentProcessRunning => Process.GetProcessById(ParentProcess.Id) != null;
Commands\Workload\Install\NetSdkMsiInstallerClient.cs (1)
59Log?.LogMessage($"Executing: {Microsoft.DotNet.Cli.Utils.Windows.GetProcessCommandLine()}, PID: {CurrentProcess.Id}, PPID: {ParentProcess.Id}");
Commands\Workload\Install\NetSdkMsiInstallerServer.cs (4)
171if (ParentProcess == null || ParentProcess.StartTime > CurrentProcess.StartTime || 172!string.Equals(ParentProcess.MainModule.FileName, Environment.ProcessPath, StringComparison.OrdinalIgnoreCase)) 174throw new SecurityException(string.Format(CliCommandStrings.NoTrustWithParentPID, ParentProcess?.Id));