CreateKeyPairResult Class

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

The result of creating a new EC2 key pair.

Inheritance Hierarchy

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

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

Syntax

C#
public class CreateKeyPairResult : AmazonWebServiceResponse

The CreateKeyPairResult type exposes the following members

Constructors

  Name Description
Public Method CreateKeyPairResult()

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 KeyPair The newly created EC2 key pair.
Public Property ResponseMetadata Contains additional information about the request, such as the Request Id.

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