AnswerFileOptionsProductKey Property

Gets or sets the Windows product key.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public string? ProductKey { get; set; }

Property Value

String
The product key, or to install without a key.

Remarks

The product key is used to select a Windows edition, and to activate Windows.

A product key is required in the answer file for most editions of Windows, but may not be required if the edition uses alternate activation methods such as volume licensing.

See Also