/*
* Copyright (c) 2023 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.WindowsApi.Contracts
{
///
/// Represents a desktop and defines its functionality.
///
public interface IDesktop
{
///
/// The handle identifying the desktop.
///
IntPtr Handle { get; }
///
/// The name of the desktop.
///
string Name { get; }
///
/// Activates the desktop.
///
/// If the desktop could not be activated.
void Activate();
///
/// Closes the desktop.
///
/// If the desktop could not be closed.
void Close();
}
}