SHA256CryptoServiceProvider 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Derived cryptographic types are obsolete. Use the Create method on the base type instead.
定义访问 SHA256 算法的加密服务提供程序 (CSP) 实现的包装对象。
public ref class SHA256CryptoServiceProvider sealed : System::Security::Cryptography::SHA256public sealed class SHA256CryptoServiceProvider : System.Security.Cryptography.SHA256[System.Obsolete("Derived cryptographic types are obsolete. Use the Create method on the base type instead.", DiagnosticId="SYSLIB0021", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class SHA256CryptoServiceProvider : System.Security.Cryptography.SHA256type SHA256CryptoServiceProvider = class
    inherit SHA256[<System.Obsolete("Derived cryptographic types are obsolete. Use the Create method on the base type instead.", DiagnosticId="SYSLIB0021", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type SHA256CryptoServiceProvider = class
    inherit SHA256Public NotInheritable Class SHA256CryptoServiceProvider
Inherits SHA256- 继承
- 属性
构造函数
| SHA256CryptoServiceProvider() | 
				已过时.
			 初始化 SHA256CryptoServiceProvider 类的新实例。 | 
字段
| HashSizeInBits | 
		已过时.
	 SHA256 算法生成的哈希大小(以位为单位)。(继承自 SHA256) | 
| HashSizeInBytes | 
		已过时.
	 SHA256 算法生成的哈希大小(以字节为单位)。(继承自 SHA256) | 
| HashSizeValue | 
		已过时.
	 表示计算所得的哈希代码的大小(以位为单位)。(继承自 HashAlgorithm) | 
| HashValue | 
		已过时.
	 表示计算所得的哈希代码的值。(继承自 HashAlgorithm) | 
| State | 
		已过时.
	 表示哈希计算的状态。(继承自 HashAlgorithm) | 
属性
| CanReuseTransform | 
		已过时.
	 获取一个值,该值指示是否可重复使用当前转换。(继承自 HashAlgorithm) | 
| CanTransformMultipleBlocks | 
		已过时.
	 当在派生类中重写时,获取一个值,该值指示是否可以转换多个块。(继承自 HashAlgorithm) | 
| Hash | 
		已过时.
	 获取计算所得的哈希代码的值。(继承自 HashAlgorithm) | 
| HashSize | 
		已过时.
	 获取计算所得的哈希代码的大小(以位为单位)。(继承自 HashAlgorithm) | 
| InputBlockSize | 
		已过时.
	 当在派生类中重写时,获取输入块的大小。(继承自 HashAlgorithm) | 
| OutputBlockSize | 
		已过时.
	 当在派生类中重写时,获取输出块的大小。(继承自 HashAlgorithm) | 
方法
显式接口实现
| IDisposable.Dispose() | 
		已过时.
	 释放由 HashAlgorithm 占用的非托管资源,还可以另外再释放托管资源。(继承自 HashAlgorithm) |