コード例 #1
0
 public MsmqTransportSecurity()
 {
     this.msmqAuthenticationMode  = System.ServiceModel.MsmqAuthenticationMode.WindowsDomain;
     this.msmqEncryptionAlgorithm = System.ServiceModel.MsmqEncryptionAlgorithm.RC4Stream;
     this.msmqHashAlgorithm       = System.ServiceModel.MsmqSecureHashAlgorithm.Sha1;
     this.msmqProtectionLevel     = ProtectionLevel.Sign;
 }
 public MsmqTransportSecurity()
 {
     this.msmqAuthenticationMode = System.ServiceModel.MsmqAuthenticationMode.WindowsDomain;
     this.msmqEncryptionAlgorithm = System.ServiceModel.MsmqEncryptionAlgorithm.RC4Stream;
     this.msmqHashAlgorithm = System.ServiceModel.MsmqSecureHashAlgorithm.Sha1;
     this.msmqProtectionLevel = ProtectionLevel.Sign;
 }
コード例 #3
0
 public MsmqTransportSecurity(MsmqTransportSecurity other)
 {
     if (other == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("other");
     }
     this.msmqAuthenticationMode  = other.MsmqAuthenticationMode;
     this.msmqEncryptionAlgorithm = other.MsmqEncryptionAlgorithm;
     this.msmqHashAlgorithm       = other.MsmqSecureHashAlgorithm;
     this.msmqProtectionLevel     = other.MsmqProtectionLevel;
 }
 public MsmqTransportSecurity(MsmqTransportSecurity other)
 {
     if (other == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("other");
     }
     this.msmqAuthenticationMode = other.MsmqAuthenticationMode;
     this.msmqEncryptionAlgorithm = other.MsmqEncryptionAlgorithm;
     this.msmqHashAlgorithm = other.MsmqSecureHashAlgorithm;
     this.msmqProtectionLevel = other.MsmqProtectionLevel;
 }