isPrivilegedProcess property

bool isPrivilegedProcess

Returns true if the process was launched as a priviliged process.

Calling releasePrivileges has no affect on this call.

Under Linux and MacOS this means that the process's real uid is root (uid = 0). Under Windows this means that the process was lauched via 'Run as Administrator'.

Implementation

bool get isPrivilegedProcess => false;