Retrieves the server's SSL certificate hash.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsNetworkProperties_get_SSLCertificateHash(pNetworkProperties, pVal) |
C++ | HRESULT get_SSLCertificateHash(pVal) |
Pointer to an IltmsNetworkProperties interface.
Pointer to a variable to be updated with a VARIANT containing a SAFEARRAY of the hash bytes.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
The hash uniquely identifies the certificate in the store.
If no hash has been assigned, the function will return a SAFEARRAY with a length of 0.
This function allocates the required memory for the SAFEARRAY; the caller is responsible for freeing it.
Win32, x64.
For a C++ example, refer to Print Network Properties Example for C++