IX509AttributeClientId::get_MachineDnsName method (certenroll.h)

The MachineDnsName property retrieves the Domain Name System (DNS) name of the computer that generated the request.

This property is read-only.

Syntax

HRESULT get_MachineDnsName(
  BSTR *pValue
);

Parameters

pValue

Return value

None

Remarks

Call the InitializeEncode method or the InitializeDecode method to initialize the MachineDnsName value. You can call the following properties to retrieve the raw data:

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509AttributeClientId