Opc.Ua.DirectoryCertificateStore.GetPrivateKeyFilePath C# (CSharp) Method

GetPrivateKeyFilePath() public method

public GetPrivateKeyFilePath ( string thumbprint ) : string
thumbprint string
return string
        public string GetPrivateKeyFilePath(string thumbprint)
        {
            Entry entry = Find(thumbprint);

            if (entry == null)
            {
                return null;
            }

            if (entry.PrivateKeyFile == null || !entry.PrivateKeyFile.Exists)
            {
                return null;
            }

            return entry.PrivateKeyFile.FullName;
        }