Utils.Assert(response.Header.CommandSet==0xFF,$"Response must have Server command set. Expected: 0xFF, Received: 0x{response.Header.CommandSet:X2}");// server
Utils.Assert(response.Header.CommandId==0x00,$"Response must have OK command id. Expected: 0x00, Received: 0x{response.Header.CommandId:X2}");// OK
Logger.logger.Log($"Total bytes in continuation: {envBlock.Length}");
Utils.Assert(envBlock.Length==continuationSizeInBytes,$"Continuation size must equal the reported size in the payload response. Expected: {continuationSizeInBytes} bytes, Received: {envBlock.Length} bytes");
// VALIDATE ENV
// env block is sent as Array<LPCWSTR> (length-prefixed array of length-prefixed wchar strings)
Utils.Assert(response.Header.CommandSet==0xFF,$"Response must have Server command set. Expected: 0xFF, Received: 0x{response.Header.CommandSet:X2}");// server
Utils.Assert(response.Header.CommandId==0x00,$"Response must have OK command id. Expected: 0x00, Received: 0x{response.Header.CommandId:X2}");// OK
Logger.logger.Log($"Total bytes in continuation: {envBlock.Length}");
Utils.Assert(envBlock.Length==continuationSizeInBytes,$"Continuation size must equal the reported size in the payload response. Expected: {continuationSizeInBytes} bytes, Received: {envBlock.Length} bytes");
// VALIDATE ENV
// env block is sent as Array<LPCWSTR> (length-prefixed array of length-prefixed wchar strings)