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(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; }