You are developing a method named GenerateHash that will create the hash value for a file. The
method includes the following code. (Line numbers are included for reference only.)
You need to return the cryptographic hash of the bytes contained in the fileBuffer variable.
Which code segment should you insert at line 05?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
D
https://msdn.microsoft.com/it-it/library/s02tk69a(v=vs.110).aspx
File.ReadAllBytes -> contnets of file into ByteArray, @see https://msdn.microsoft.com/en-us/library/system.io.file.readallbytes%28v=vs.110%29.aspx
so? what’s the correct answer for you?
correct answer is D