X509SubjectAlternativeNameExtension.EnumerateDnsNames Method

Definition

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

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ EnumerateDnsNames();
public System.Collections.Generic.IEnumerable<string> EnumerateDnsNames ();
member this.EnumerateDnsNames : unit -> seq<string>
Public Function EnumerateDnsNames () As IEnumerable(Of String)

Returns

The name entries with a DNS Name type identifier.

Exceptions

The contents of the extension could not be decoded successfully.

Applies to