ZebraP12InfoGetCertificateCommonName(String) Method
|
Get the common name of the client certificate associated with the certificate file.
Namespace: Zebra.Sdk.CertificateAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public string GetCertificateCommonName(
string alias
)
Public Function GetCertificateCommonName (
alias As String
) As String
public:
String^ GetCertificateCommonName(
String^ alias
)
Parameters
- alias String
- The alias name of the specific entry to extract from the certificate file.
Return Value
StringThe certificate common name.
Exceptions Exception | Condition |
---|
ZebraCertificateException | If the provided alias does not exist or the underlying
certificate could not be parsed. |
See Also