Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- inputStream
Type: System.IO. . :: . .Stream
The data stream that was signed.
- signature
Type: array<System. . :: . .Byte> [] () [] []
The signature to be verified.
Return Value
Type: System. . :: . .Boolean
true if the signature is valid; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.