ICertificateProviderGetCertificateForHost Method |
Return a certificate to secure this traffic. Generally, it's expected that this method WILL create a new certificate if needed.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax X509Certificate2 GetCertificateForHost(
string sHostname
)
Function GetCertificateForHost (
sHostname As String
) As X509Certificate2
X509Certificate2^ GetCertificateForHost(
String^ sHostname
)
Parameters
- sHostname
- Type: SystemString
Hostname (e.g. "www.example.com")
Return Value
Type:
X509Certificate2An X509Certificate, or null on error
See Also