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 VerifyDomainIdentity service

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SimpleEmail.Model.VerifyDomainIdentityResult
      Amazon.SimpleEmail.Model.VerifyDomainIdentityResponse

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

Syntax

C#
public class VerifyDomainIdentityResponse : VerifyDomainIdentityResult

The VerifyDomainIdentityResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property VerificationToken System.String Gets and sets the property VerificationToken.

A TXT record that must be placed in the DNS settings for the domain, in order to complete domain verification.

Public Property VerifyDomainIdentityResult Amazon.SimpleEmail.Model.VerifyDomainIdentityResult Gets and sets the VerifyDomainIdentityResult property. Represents the output of a VerifyDomainIdentity operation.

Examples

This example shows how to verify a domain.

Verify domain example

var sesClient = new AmazonSimpleEmailServiceClient();

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

var response = sesClient.VerifyDomainIdentity(request);

Console.WriteLine("Verification token: " + response.VerificationToken);
      

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