35 lines
983 B
C#
35 lines
983 B
C#
/*
|
|
* Copyright (c) 2025 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;
|
|
|
|
namespace SafeExamBrowser.Settings.Applications
|
|
{
|
|
/// <summary>
|
|
/// Defines an application which is blacklisted, i.e. not allowed to run during a session.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class BlacklistApplication
|
|
{
|
|
/// <summary>
|
|
/// Specifies whether the application may be automatically terminated when starting a session.
|
|
/// </summary>
|
|
public bool AutoTerminate { get; set; }
|
|
|
|
/// <summary>
|
|
/// The name of the main executable of the application.
|
|
/// </summary>
|
|
public string ExecutableName { get; set; }
|
|
|
|
/// <summary>
|
|
/// The original file name of the main executable of the application, if available.
|
|
/// </summary>
|
|
public string OriginalName { get; set; }
|
|
}
|
|
}
|