MsmqTransportSecurity.MsmqSecureHashAlgorithm Propriedade

Definição

Obtém ou define o MsmqSecureHashAlgorithm associado a esta instância da classe MsmqTransportSecurity.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

Valor da propriedade

MsmqSecureHashAlgorithm

O MsmqSecureHashAlgorithm que está associado a essa instância da MsmqTransportSecurity classe.The MsmqSecureHashAlgorithm that is associated with this instance of the MsmqTransportSecurity class.

Exceções

O valor não é um dos valores MsmqSecureHashAlgorithm.The value is not one of MsmqSecureHashAlgorithm values.

Comentários

O algoritmo de hash padrão é Sha1 .The default hash algorithm is Sha1.

Em razão de problemas de colisão com SHA1, a Microsoft recomenda SHA256.Due to collision problems with SHA1, Microsoft recommends SHA256.

Aplica-se a