/// <summary> /// Verify RopTellVersion Response /// </summary> /// <param name="ropTellVersionResponse">the response of RopTellVersion request</param> /// <param name="inputHandleIndex">The field of inputHandleIndex in RopTellVersion request</param> private void VerifyRopTellVersionResponse(RopTellVersionResponse ropTellVersionResponse, byte inputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3892"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3892 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropTellVersionResponse.RopId.GetType(), 3892, @"[In RopTellVersion ROP Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3894"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3894 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopTellVersion, ropTellVersionResponse.RopId, 3894, @"[In RopTellVersion ROP Response Buffer, RopId (1 byte):] For this operation[RopTellVersion] this field is set to 0x86."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3895"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3895 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropTellVersionResponse.InputHandleIndex.GetType(), 3895, @"[In RopTellVersion ROP Response Buffer]InputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3896"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3896 Site.CaptureRequirementIfAreEqual<byte>( inputHandleIndex, ropTellVersionResponse.InputHandleIndex, 3896, @"[In RopTellVersion ROP Response Buffer, InputHandleIndex (1 byte):] This index MUST be set to the vale specified in the InputHandleIndex field in the request."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3898"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3898 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropTellVersionResponse.ReturnValue.GetType(), 3898, @"[In RopTellVersion ROP Response Buffer] ReturnValue (4 bytes): An unsigned integer."); }