The GetName method returns the alternate name at a specified index of an alternate name array.
[VB] BSTR GetName(
long NameIndex
);
[JAVA] java.lang.String GetName(
int NameIndex
);
[C++] HRESULT GetName(
LONG NameIndex, // in
BSTR *pstrName // out, return value
);
Returns the alternate name at the specified index. The return value is a Unicode string.
Windows NT: Requires version 5.0 or later (or version 4.0 with the Windows NT 4.0 Option Pack).
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in certenc.h.
Import Library: Use certidl.lib.