ICertEncodeAltName::GetName

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
);
 

Parameters

[VB][JAVA][C++] NameIndex
Specifies the index of the alternate name entry.
[C++] pstrName
Points to the return value. See Return Values.

Return Values

Returns the alternate name at the specified index. The return value is a Unicode string.

QuickInfo

  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.