public SymmetricKeyService(string baseAddress, StorageCredentials credentials, X509Certificate2 certificate)
        {
            _certificate = certificate;

            try
            {
                if (credentials != null)
                {
                    _context = new SymmetricKeyContext(baseAddress, credentials);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Beispiel #2
0
        public SymmetricKeyService(string baseAddress, StorageCredentials credentials, X509Certificate2 certificate)
        {
            _certificate = certificate;

            try
            {
                if (credentials != null)
                {
                    _context = new SymmetricKeyContext(baseAddress, credentials);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }