ServiceInstallerDialog.Password Property


Gets or sets the password for the service account form.

Namespace:   System.ServiceProcess.Design
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public string Password { get; set; }

Property Value

Type: System.String

A string representing the password in the service account form. The default is an empty string ("").

The ServiceInstallerDialog does not validate the Username and Password values. The dialog checks that the user confirms the password, but it does not authenticate the account credentials on the computer.

.NET Framework
Available since 1.1
Return to top