namespace PaintDotNet.SystemLayer
{
public enum ExecutePrivilege
{
///
/// The process is started with default permissions: either the same as the invoker,
/// or those required by the executable's manifest.
///
AsInvokerOrAsManifest,
///
/// The process is required to run with administrator privilege. If the user does not
/// have administrator privilege, nor has the ability to obtain it, then the operation
/// will fail.
///
RequireAdmin,
///
/// The process is required to run with normal privilege. On some systems this may
/// not be possible, and as such this will have the same effect as AsInvokerOrAsManifest.
///
///
/// This flag only has an effect in Windows Vista from a process that already has
/// administrator privilege.
///
RequireNonAdminIfPossible
}
}