Describes minimum required functionality from AdminRights component.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IAdminRights :public virtual IComponent
{
public:
virtual bool hasAdminRights() = 0; // Return true if application already has admin rights
virtual bool Request(const String ¶ms = L"") = 0; // Ask for admin rights. If application already has admin rights, return false. If user denies running with admin rights, return false. If user allows running with admin rights, run new instance of application and terminate this one
};
Namespace: | nitisa::standard |
Include: | Standard/Components/IAdminRights.h |