Share via


Hash.CreateSHA256(Byte[]) Método

Definición

Crea un objeto Hash que contiene un valor hash de SHA256.

public:
 static System::Security::Policy::Hash ^ CreateSHA256(cli::array <System::Byte> ^ sha256);
public static System.Security.Policy.Hash CreateSHA256 (byte[] sha256);
static member CreateSHA256 : byte[] -> System.Security.Policy.Hash
Public Shared Function CreateSHA256 (sha256 As Byte()) As Hash

Parámetros

sha256
Byte[]

Matriz de bytes que contiene un valor hash de SHA256.

Devoluciones

Objeto hash que contiene el valor hash proporcionado por el parámetro sha256.

Excepciones

El parámetro sha256 es null.

Comentarios

El objeto devuelto Hash contiene solo la SHA256 propiedad .

Se aplica a