Share via


VerifyData Method (Byte[], Byte[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Verifies a digital signature of the specified data.

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

Syntax

'Declaration
Public Function VerifyData ( _
    data As Byte(), _
    signature As Byte() _
) As Boolean
public bool VerifyData(
    byte[] data,
    byte[] signature
)
public:
bool VerifyData(
    array<unsigned char>^ data, 
    array<unsigned char>^ signature
)
member VerifyData : 
        data:byte[] * 
        signature:byte[] -> bool 
public function VerifyData(
    data : byte[], 
    signature : byte[]
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true if the signature is valid; otherwise, false.

.NET Framework Security

See Also

Reference

ECDsaCryptoServiceProvider Class

VerifyData Overload

System.Security.Cryptography Namespace