private uint SendAuxiliaryPayloadBufferInEcDoConnectEx(RgbAuxInEnum rgbAuxInEnum, byte[] payload)
{
uint returnValueOfDisconnect = 0;
this.rgbAuxIn = AdapterHelper.ComposeRgbAuxIn(rgbAuxInEnum, payload);
this.pcbAuxOut = ConstValues.ValidpcbAuxOut;
this.returnValue = this.oxcrpcAdapter.EcDoConnectEx(
ref this.pcxh,
TestSuiteBase.UlIcxrLinkForNoSessionLink,
ref this.pulTimeStamp,
this.rgbAuxIn,
this.userDN,
ref this.pcbAuxOut,
this.rgwClientVersion,
out this.rgwBestVersion,
out this.picxr);
Site.Assert.AreEqual<uint>(0, this.returnValue, "EcDoConnectEx should succeed for test of reserved fields and '0' is expected to be returned. The returned value is {0}.", this.returnValue);
returnValueOfDisconnect = this.oxcrpcAdapter.EcDoDisconnect(ref this.pcxh);
Site.Assert.AreEqual<uint>(0, returnValueOfDisconnect, "EcDoDisconnect should succeed and '0' is expected to be returned. The returned value is {0}.", returnValueOfDisconnect);
return this.returnValue;
}