GeneratorOptionsCmdKeyAccount Property

Gets or sets the credentials of an account that will be used to access all network locations.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 1.1.0+80a53790d09cddd16db3be20b673cb91280c7d9e
C#
public DomainCredential? CmdKeyAccount { get; set; }

Property Value

DomainCredential
A instance of the DomainCredential class, or to not set up a cmdkey user. The default value is .

Remarks

Setting this property to a value other than will add a first log-on command to the answer file that uses 'cmdkey.exe' to use the specified account for all network destinations. Using this is not very secure and should only be done in test environments.

  Security Note

The password of this account is stored in plain text in the answer file. Do not store answer files with sensitive passwords in public locations.

See Also