isPrivilegedProcess property

bool isPrivilegedProcess

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

Implementation

bool get isPrivilegedProcess => isPrivilegedUser;