Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |