 | ElevationHelperIsProcessElevated Method |
To check if process is elevated or not
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool IsProcessElevated(
Process process,
out bool isElevated,
out string error
)
Public Shared Function IsProcessElevated (
process As Process,
<OutAttribute> ByRef isElevated As Boolean,
<OutAttribute> ByRef error As String
) As Boolean
Parameters
- process
- Type: System.DiagnosticsProcess
process object - isElevated
- Type: SystemBoolean
out boolean - error
- Type: SystemString
out error
Return Value
Type:
Booleanbool type
See Also