X509SubjectAlternativeNameExtension.EnumerateDnsNames Method

Definition

Enumerates the alternative name entries with a DNS Name type identifier.

C#
public System.Collections.Generic.IEnumerable<string> EnumerateDnsNames();

Returns

The name entries with a DNS Name type identifier.

Exceptions

The contents of the extension could not be decoded successfully.

Applies to

Product Versions
.NET 7, 8, 9, 10