Advanced builder interface for creating ProcessConfiguration instances. Use this builder when you need argument escaping via ConfigureArguments(Action<ArgumentsSpec>), user credential configuration via ConfigureUserCredential(Action<UserCredentialSpec>), or resource policy configuration via ConfigureProcessResourcePolicy(Action<ProcessResourcePolicySpec>). For all other cases, prefer direct init construction of ProcessConfiguration.
public interface IProcessConfigurationBuilder
kind:method, kind:property, kind:ctor. Press Esc to clear.Build()Builds the Process configuration with the configured parameters.EnableWindowCreation(Boolean)Enables or disables Window creation for the wrapped executable.RedirectStandardInput(Boolean)Configures whether the standard input of the process should be redirected.RequireAdministratorPrivileges()Enables using Administrator Privileges.SetArgumentList(IReadOnlyList<String>?)Sets a pre-tokenised argument list. When non-empty, the control adapter emits these via instead of the single Arguments string, so the operating-system command-line parser passes each entry to the child process unmodified. If both Arguments and the argument list are set, the argument list takes precedence. This is the safe path for shell wrappers (PowerShell / cmd), whose own parser would otherwise re-interpret a single re-tokenised Arguments string, a command-injection vector.SetArguments(IEnumerable<String>, Boolean)Sets the arguments to pass to the executable.SetArguments(String)Sets the arguments to pass to the executable from a single raw command-line string. The input is treated as ready-to-use command-line text and is stored verbatim, without any additional quoting or escaping. Use SetArguments(IEnumerable<String>, Boolean) when passing individual argument tokens that should be escaped.SetEncoding(Encoding?, Encoding?, Encoding?)Sets the Encoding types to be used for Standard Input.SetProcessResourcePolicy(ProcessResourcePolicy)Sets the Process Resource Policy to be used for this Process.SetStandardInputPipe(StreamWriter)Sets the Standard Input Pipe source.SetTargetFilePath(String)Sets the Target File Path of the Process Executable.SetUserCredential(UserCredential)Sets the credentials for the Process to be executed.SetWorkingDirectory(String)Sets the working directory to be used for the Process.UseShellExecution(Boolean)Enables or disables Process execution via Shell Execution.