AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Configuration for accessing Amazon VerifyDomainDkim service

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SimpleEmail.Model.VerifyDomainDkimResult
      Amazon.SimpleEmail.Model.VerifyDomainDkimResponse

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class VerifyDomainDkimResponse : VerifyDomainDkimResult

The VerifyDomainDkimResponse type exposes the following members

Constructors

NameDescription
Public Method VerifyDomainDkimResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DkimTokens System.Collections.Generic.List<System.String> Gets and sets the property DkimTokens.

A set of character strings that represent the domain's identity. If the identity is an email address, the tokens represent the domain of that address.

Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign emails originating from that domain.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property VerifyDomainDkimResult Amazon.SimpleEmail.Model.VerifyDomainDkimResult Gets and sets the VerifyDomainDkimResult property. Represents the output of a VerifyDomainDkim operation.

Examples

This example shows how to get a set of DKIM tokens for a domain.

Get domain DKIM tokens example

var sesClient = new AmazonSimpleEmailServiceClient();

var request = new VerifyDomainDkimRequest
{       
  Domain = "example.com"
};

var response = sesClient.VerifyDomainDkim(request);

Console.WriteLine("DKIM tokens:");

foreach (var token in response.DkimTokens)
{
  Console.WriteLine("  " + token);
}
      

Version Information

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

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

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8