MsmqTransportSecurity.MsmqSecureHashAlgorithm Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.