/// <summary> /// Verify RopGetAttachmentTable Response /// </summary> /// <param name="ropGetAttachmentTableResponse">The response of RopGetAttachmentTable request</param> /// <param name="outputHandleIndex">The field of OutputHandleIndex in RopGetAttachmentTable request</param> private void VerifyRopGetAttachmentTableResponse(RopGetAttachmentTableResponse ropGetAttachmentTableResponse, byte outputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2308"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2308 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropGetAttachmentTableResponse.RopId.GetType(), 2308, @"[In RopGetAttachmentTable ROP Response Buffer]RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2310"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2310 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopGetAttachmentTable, ropGetAttachmentTableResponse.RopId, 2310, @"[In RopGetAttachmentTable ROP Response Buffer,RopId (1 byte)]For this operation[RopGetAttachmentTable], this field is set to 0x21."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2311"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2311 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropGetAttachmentTableResponse.OutputHandleIndex.GetType(), 2311, @"[In RopGetAttachmentTable ROP Response Buffer]OutputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2312"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2312 Site.CaptureRequirementIfAreEqual<byte>( outputHandleIndex, ropGetAttachmentTableResponse.OutputHandleIndex, 2312, @"[In RopGetAttachmentTable ROP Response Buffer,OutputHandleIndex (1 byte)]This index MUST be set to the value specified in the OutputHandleIndex field in the request."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2314"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2314 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropGetAttachmentTableResponse.ReturnValue.GetType(), 2314, @"[In RopGetAttachmentTable ROP Response Buffer]ReturnValue (4 bytes): An unsigned integer."); }