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 */
public String get_Password ()

/** @property */
public void set_Password (String value)

public function get Password () : String

public function set Password (value : String)

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0