Click or drag to resize

UserAccountControlCreateProcessAsAdmin Method

Creates a process under the elevated token, regardless of UAC settings or the manifest associated with that process.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax
public static Process CreateProcessAsAdmin(
	string fileName,
	string arguments = ""
)
View Source

Parameters

fileName  String
The path to the executable file.
arguments  String  (Optional)
The command-line arguments to pass to the process.

Return Value

Process
A Process object representing the newly created process.
See Also