Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SecurePassword Property

ConnectionOptions.SecurePassword Property

Sets the password for the specified user.

Namespace:  System.Management
Assembly:  System.Management (in System.Management.dll)

public SecureString SecurePassword { set; }

Property Value

Type: System.Security.SecureString
Returns a SecureString value used for the password in a connection to WMI.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft