Επεξεργασία

Κοινή χρήση μέσω


MsmqTransportSecurity.MsmqSecureHashAlgorithm Property

Definition

Gets or sets the MsmqSecureHashAlgorithm that is associated with this instance of the MsmqTransportSecurity class.

public:
 property System::ServiceModel::MsmqSecureHashAlgorithm MsmqSecureHashAlgorithm { System::ServiceModel::MsmqSecureHashAlgorithm get(); void set(System::ServiceModel::MsmqSecureHashAlgorithm value); };
public System.ServiceModel.MsmqSecureHashAlgorithm MsmqSecureHashAlgorithm { get; set; }
member this.MsmqSecureHashAlgorithm : System.ServiceModel.MsmqSecureHashAlgorithm with get, set
Public Property MsmqSecureHashAlgorithm As MsmqSecureHashAlgorithm

Property Value

The MsmqSecureHashAlgorithm that is associated with this instance of the MsmqTransportSecurity class.

Exceptions

The value is not one of MsmqSecureHashAlgorithm values.

Remarks

The default hash algorithm is Sha1.

Due to collision problems with SHA1, Microsoft recommends SHA256.

Applies to