/* * Copyright (c) 2024 ETH Zürich, IT Services * * 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.Collections.Generic; using System.IO; namespace SafeExamBrowser.SystemComponents.Contracts { /// /// Provides access to information about the computer system. /// public interface ISystemInfo { /// /// The manufacturer and name of the BIOS. /// string BiosInfo { get; } /// /// The name of the CPU. /// string CpuName { get; } /// /// Reveals whether the computer system contains a battery. /// bool HasBattery { get; } /// /// The MAC address of the network adapter. /// string MacAddress { get; } /// /// The manufacturer name of the computer system. /// string Manufacturer { get; } /// /// The model name of the computer system. /// string Model { get; } /// /// The machine name of the computer system. /// string Name { get; } /// /// Reveals the version of the currently running operating system. /// OperatingSystem OperatingSystem { get; } /// /// Provides detailed version information about the currently running operating system. /// string OperatingSystemInfo { get; } /// /// Provides the device ID information of the user's Plug and Play devices. /// string[] PlugAndPlayDeviceIds { get; } /// /// Retrieves all logical drives of the computer system. /// IEnumerable GetDrives(); } }