NonCryptographicHashAlgorithm.GetHashAndReset 方法       
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| GetHashAndReset() | 
						 获取当前计算的哈希值并清除累积状态。  | 
        	
| GetHashAndReset(Span<Byte>) | 
						 将计算的哈希值写入 ,   | 
        	
GetHashAndReset()
获取当前计算的哈希值并清除累积状态。
public:
 cli::array <System::Byte> ^ GetHashAndReset();
	public byte[] GetHashAndReset ();
	member this.GetHashAndReset : unit -> byte[]
	Public Function GetHashAndReset () As Byte()
	返回
已提供的数据的哈希值。
适用于
GetHashAndReset(Span<Byte>)
将计算的哈希值写入 , destination 然后清除累积状态。
public:
 int GetHashAndReset(Span<System::Byte> destination);
	public int GetHashAndReset (Span<byte> destination);
	member this.GetHashAndReset : Span<byte> -> int
	Public Function GetHashAndReset (destination As Span(Of Byte)) As Integer
	参数
返回
写入 到 destination的字节数,始终 HashLengthInBytes为 。
例外
              destination 短于 HashLengthInBytes。