26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
namespace Plandent.MstscScriptHook.Configurator;
|
|
|
|
internal sealed class HookConfig
|
|
{
|
|
public bool Enabled { get; set; } = true;
|
|
public bool EnableLogging { get; set; } = true;
|
|
|
|
// Automatischer Start bei erfolgreicher RDP-Verbindung.
|
|
public string ScriptPath { get; set; } = string.Empty;
|
|
public string Arguments { get; set; } = string.Empty;
|
|
public string WorkingDirectory { get; set; } = string.Empty;
|
|
public bool StartOnConnect { get; set; } = true;
|
|
public bool StopOnDisconnect { get; set; }
|
|
public bool Hidden { get; set; } = true;
|
|
public bool PreventDuplicates { get; set; } = true;
|
|
|
|
// Separates lokales Programm, das ausschließlich durch den festen
|
|
// START-Trigger vom Terminalserver gestartet werden kann.
|
|
public bool TriggerEnabled { get; set; }
|
|
public string TriggerProgramPath { get; set; } = string.Empty;
|
|
public string TriggerArguments { get; set; } = string.Empty;
|
|
public string TriggerWorkingDirectory { get; set; } = string.Empty;
|
|
public bool TriggerHidden { get; set; } = true;
|
|
public bool TriggerPreventDuplicates { get; set; } = true;
|
|
}
|