17 references to HashAlgorithm
System.Messaging (17)
System\Messaging\DefaultPropertiesToSend.cs (2)
215
[DefaultValueAttribute(
HashAlgorithm
.Md5), MessagingDescription(Res.MsgHashAlgorithm)]
216
public
HashAlgorithm
HashAlgorithm
System\Messaging\Message.cs (5)
1107
public
HashAlgorithm
HashAlgorithm
1118
return
HashAlgorithm
.Md5;
1120
return
HashAlgorithm
.Sha512;
1126
return (
HashAlgorithm
)properties.GetUI4(NativeMethods.MESSAGE_PROPID_HASH_ALG);
1132
throw new InvalidEnumArgumentException("value", (int)value, typeof(
HashAlgorithm
));
System\Messaging\ValidationUtility.cs (10)
39
public static bool ValidateHashAlgorithm(
HashAlgorithm
value)
44
return (value ==
HashAlgorithm
.None) ||
45
(value ==
HashAlgorithm
.Md2) ||
46
(value ==
HashAlgorithm
.Md4) ||
47
(value ==
HashAlgorithm
.Md5) ||
48
(value ==
HashAlgorithm
.Sha) ||
49
(value ==
HashAlgorithm
.Sha256) ||
50
(value ==
HashAlgorithm
.Sha384) ||
51
(value ==
HashAlgorithm
.Sha512) ||
52
(value ==
HashAlgorithm
.Mac);