Table of Contents

Class OwnershipVerification

Namespace
Cloudflare.NET.Zones.CustomHostnames.Models
Assembly
Cloudflare.NET.dll

Represents TXT-based ownership verification information.

public record OwnershipVerification : IEquatable<OwnershipVerification>
Inheritance
OwnershipVerification
Implements
Inherited Members

Remarks

To verify ownership, add a TXT record with the specified Name and Value to the custom hostname's DNS.

Constructors

OwnershipVerification(string, string, string)

Represents TXT-based ownership verification information.

public OwnershipVerification(string Type, string Name, string Value)

Parameters

Type string

The type of verification (typically "txt").

Name string

The DNS record name for verification (e.g., "_cf-custom-hostname.app.customer.com").

Value string

The value to set for the TXT record.

Remarks

To verify ownership, add a TXT record with the specified Name and Value to the custom hostname's DNS.

Properties

Name

The DNS record name for verification (e.g., "_cf-custom-hostname.app.customer.com").

[JsonPropertyName("name")]
public string Name { get; init; }

Property Value

string

Type

The type of verification (typically "txt").

[JsonPropertyName("type")]
public string Type { get; init; }

Property Value

string

Value

The value to set for the TXT record.

[JsonPropertyName("value")]
public string Value { get; init; }

Property Value

string