/* * Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using System; namespace SafeExamBrowser.Contracts.Lockdown { /// /// Allows to control a feature of the computer, the operating system or an installed third-party software. /// public interface IFeatureConfiguration { /// /// The unique identifier of this feature configuration. /// Guid Id { get; } /// /// The identifier of the group of changes to which this feature configuration belongs. /// Guid GroupId { get; } /// /// Disables the feature. /// void DisableFeature(); /// /// Enables the feature. /// void EnableFeature(); /// /// Starts monitoring the feature to ensure that it remains as currently configured. /// void Monitor(); /// /// Restores the feature to its previous configuration (i.e. before it was enabled or disabled). /// void Restore(); } }