isPrivilegedProcess property

bool get isPrivilegedProcess

Returns true if the current process is running with elevated privileges e.g. Is running as an Administrator.

Implementation

bool get isPrivilegedProcess => isPrivilegedUser;