AnswerFileOptions Class

Provides options for generating an unattended Windows installation answer file using the AnswerFileGenerator class.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public class AnswerFileOptions
Inheritance
Object    AnswerFileOptions

Constructors

AnswerFileOptionsInitializes a new instance of the AnswerFileOptions class

Properties

AutoLogon Gets or sets options for logging on automatically.
ComputerName Gets or sets the computer name of the system.
DisplayResolution Gets or sets the display resolution.
EnableCloud Gets or sets a value which indicates whether cloud consumer features are enabled after installation.
EnableDefender Gets or sets a value which indicates whether Windows Defender is enabled after installation.
EnableRemoteDesktop Gets or sets a value which indicates whether remote desktop accepts incoming connections after installation.
EnableServerManager Gets or sets a value which indicates whether server manager will be launched when logging in on Windows Server.
FirstLogonCommands Gets or sets a collection of commands to run during first log-on.
FirstLogonScripts Gets or sets a collection of PowerShell scripts to run during first log-on.
InstallOptions Gets or sets the installation method to use, along with the options for that method.
JoinDomain Gets or sets options for joining a domain.
JsonSchema Gets the schema that can be used for validation of the JSON representation of this object.
Language Gets or sets the language used for the UI and culture settings.
LocalAccounts Gets or sets a collection of local accounts to create.
ProcessorArchitecture Gets or sets the processor architecture of the Windows version being installed.
ProductKey Gets or sets the Windows product key.
TimeZone Gets or sets the system time zone.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromJson Creates an instance of the AnswerFileOptions class based on the specified JSON value.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToJson Serializes the current instance to a JSON string.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also