Updated: April 27, 2016
Applies To: Windows PowerShell
Represents a set of security credentials, such as a user name and a password.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Gets aobject that contains no credential data.
Gets or sets a delegate which returns the encryption key and initialization vector for a symmetric encryption algorithm. Introduced in Windows PowerShell 3.0.
Gets the password of the user for these credentials.
Gets the user name for these credentials.
Converts credential data into a NetworkCredential object.
Populates an object with the data needed to serialize the. Introduced in Windows PowerShell 3.0.
To create a secure cmdlet or provider, define a single parameter of this type instead of using separate parameters for the user name and password.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.