예제 #1
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;
            }
        }
예제 #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;
            }
        }