Freigeben über


MD5CryptoServiceProvider.HashFinal-Methode

Gibt den berechneten MD5CryptoServiceProvider-Hashwert als Bytearray zurück, nachdem alle Daten in das Objekt geschrieben wurden.

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
Protected Overrides Function HashFinal As Byte()
'Usage
Dim returnValue As Byte()

returnValue = Me.HashFinal
protected override byte[] HashFinal ()
protected:
virtual array<unsigned char>^ HashFinal () override
protected byte[] HashFinal ()
protected override function HashFinal () : byte[]

Rückgabewert

Der berechnete Hashwert.

Ausnahmen

Ausnahmetyp Bedingung

CryptographicException

Der Kryptografiedienstanbieter (Cryptographic Service Provider, CSP) kann nicht ermittelt werden.

– oder –

Der Hash kann nicht erstellt werden.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 1.0

Siehe auch

Referenz

MD5CryptoServiceProvider-Klasse
MD5CryptoServiceProvider-Member
System.Security.Cryptography-Namespace

Weitere Ressourcen

Kryptografische Dienste