Share via


VerifyData Method (Stream, 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 stream, reading to the end of the stream.

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

Syntax

'Declaration
Public Function VerifyData ( _
    inputStream As Stream, _
    signature As Byte() _
) As Boolean
public bool VerifyData(
    Stream inputStream,
    byte[] signature
)
public:
bool VerifyData(
    Stream^ inputStream, 
    array<unsigned char>^ signature
)
member VerifyData : 
        inputStream:Stream * 
        signature:byte[] -> bool 
public function VerifyData(
    inputStream : Stream, 
    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