VerifyData Method (Byte[], Int32, Int32, 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 for the specified length of data, beginning at the specified offset.

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

Syntax

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

Parameters

  • count
    Type: System. . :: . .Int32
    The length of the data, in characters, following offset that will be signed.

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