Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

No ENUM for SHA256 in HashAlgorithmType ?

$
0
0

In System.Security.Authentication is an enumeration class HashAlgorithmType. I'm using the class to check the used hash algorithm when I use SslStream to create a secure connection.

Accoring to the manual HashAlgorithmType Enumeration there are currently three enums:

  • None
  • Md5
  • Sha1

When I open a connection using Sha256 as the hash algorithm the value is "32780". Where is the enum for that? Where are the enums for the other Sha2 hash algorithms?



Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>