/// <summary>
 /// to decode the smb parameters: from the general SmbParameters to the concrete Smb Parameters.
 /// </summary>
 protected override void DecodeParameters()
 {
     if (this.smbParametersBlock.WordCount > 0)
     {
         this.smbParameters = TypeMarshal.ToStruct <SMB_COM_SESSION_SETUP_ANDX_Response_SMB_Parameters>(
             TypeMarshal.ToBytes(this.smbParametersBlock));
     }
 }
 /// <summary>
 /// to decode the smb parameters: from the general SmbParameters to the concrete Smb Parameters.
 /// </summary>
 protected override void DecodeParameters()
 {
     if (this.SmbParametersBlock.WordCount > 0)
     {
         this.smbParameters = CifsMessageUtils.ToStuct <SMB_COM_SESSION_SETUP_ANDX_Response_SMB_Parameters>(
             CifsMessageUtils.ToBytes <SmbParameters>(this.smbParametersBlock));
     }
     else
     {
         this.smbParameters.WordCount = this.SmbParametersBlock.WordCount;
     }
 }
 /// <summary>
 /// to decode the smb parameters: from the general SmbParameters to the concrete Smb Parameters. 
 /// </summary>
 protected override void DecodeParameters()
 {
     if (this.SmbParametersBlock.WordCount > 0)
     {
         this.smbParameters = CifsMessageUtils.ToStuct<SMB_COM_SESSION_SETUP_ANDX_Response_SMB_Parameters>(
             CifsMessageUtils.ToBytes<SmbParameters>(this.smbParametersBlock));
     }
     else
     {
         this.smbParameters.WordCount = this.SmbParametersBlock.WordCount;
     }
 }