GetPasswordDataResult Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

The result of the GetPasswordData operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.EC2.Model.GetPasswordDataResult

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class GetPasswordDataResult : AmazonWebServiceResponse

The GetPasswordDataResult type exposes the following members

Constructors

  Name Description
Public Method GetPasswordDataResult()

Properties

  Name Description
Public Property ContentLength Returns the content length of the HTTP response.
Public Property HttpStatusCode Returns the status code of the HTTP response.
Public Property InstanceId The ID of the instance whose Windows administrator password was requested.
Public Property PasswordData The Windows administrator password of the specified instance.
Public Property ResponseMetadata Contains additional information about the request, such as the Request Id.
Public Property Timestamp The time the data was last updated.

Methods

  Name Description
Public Method GetDecryptedPassword(string) Gets the decrypted password using the RSA private key which can be found in the PEM file for the key pair.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8