C#
VB
C++
Gets or sets the Maximum Length for data transfer.
public int MaxLength { get; set; }
Public Property MaxLength As Integer
public:
property int MaxLength {
int get();
void set ( int value);
}
The Maximum Length for data transfer. A value of -1 means that the Maximum Length restriction is disabled; otherwise, the Maximum Length must be 0, or >= 8 and it must be an even number (8, 10, 12, _).
For an example, refer to SendCEchoRequest.