| 
            
              UserAccountControlCreateProcessAsAdmin Method
             | 
          
        
        
            Creates a process under the elevated token, regardless of UAC settings or the manifest associated with that process.
            
        
        Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
Syntaxpublic static Process CreateProcessAsAdmin(
	string fileName,
	string arguments = ""
)
Public Shared Function CreateProcessAsAdmin ( 
	fileName As String,
	Optional arguments As String = ""
) As Process
public:
static Process^ CreateProcessAsAdmin(
	String^ fileName, 
	String^ arguments = L""
)
static member CreateProcessAsAdmin : 
        fileName : string * 
        ?arguments : string 
(* Defaults:
        let _arguments = defaultArg arguments ""
*)
-> Process GSF.Identity.UserAccountControl.CreateProcessAsAdmin = function(fileName, arguments);
 View SourceParameters
- fileName  String
 - The path to the executable file.
 - arguments  String  (Optional)
 - The command-line arguments to pass to the process.
 
Return Value
ProcessA 
Process object representing the newly created process.
See Also