2017-08-14 17:44:16 +02:00
|
|
|
|
/*
|
2023-03-08 00:30:20 +01:00
|
|
|
|
* Copyright (c) 2023 ETH Zürich, Educational Development and Technology (LET)
|
2017-08-14 17:44:16 +02:00
|
|
|
|
*
|
|
|
|
|
* 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.SystemComponents.Contracts
|
2017-08-14 17:44:16 +02:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
2019-12-20 17:06:28 +01:00
|
|
|
|
/// Provides access to information about the computer system.
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// </summary>
|
2017-08-14 17:44:16 +02:00
|
|
|
|
public interface ISystemInfo
|
|
|
|
|
{
|
2022-07-29 13:49:26 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The manufacturer and name of the BIOS.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string BiosInfo { get; }
|
|
|
|
|
|
2017-08-14 17:44:16 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Reveals whether the computer system contains a battery.
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool HasBattery { get; }
|
|
|
|
|
|
2022-07-29 13:49:26 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The MAC address of the network adapter.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string MacAddress { get; }
|
|
|
|
|
|
2019-12-20 17:06:28 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The manufacturer name of the computer system.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string Manufacturer { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The model name of the computer system.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string Model { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The machine name of the computer system.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string Name { get; }
|
|
|
|
|
|
2017-08-14 17:44:16 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Reveals the version of the currently running operating system.
|
|
|
|
|
/// </summary>
|
|
|
|
|
OperatingSystem OperatingSystem { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides detailed version information about the currently running operating system.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string OperatingSystemInfo { get; }
|
2020-05-06 18:44:08 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-07-29 13:49:26 +02:00
|
|
|
|
/// Provides the device ID information of the user's Plug and Play devices.
|
2020-05-06 21:45:04 +02:00
|
|
|
|
/// </summary>
|
2020-05-07 13:21:57 +02:00
|
|
|
|
string[] PlugAndPlayDeviceIds { get; }
|
2017-08-14 17:44:16 +02:00
|
|
|
|
}
|
|
|
|
|
}
|