Visual Basic (Declaration) | |
---|---|
Public Property Binary As OptionState |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Telnet Dim value As OptionState instance.Binary = value value = instance.Binary |
C# | |
---|---|
public OptionState Binary {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property OptionState get_Binary(); public: __property void set_Binary( OptionState value ); |
C++/CLI | |
---|---|
public: property OptionState Binary { OptionState get(); void set ( OptionState value); } |
Property Value
An OptionState with a default value of Off.Setting this property adds an option to both ClientOptions and ServerOptions.
To determine negotiation success, check both ClientOptions and ServerOptions. If State is OptionState.On for both, negotiation was successful.
The TRANSMIT-BINARY option is used to send data without padding naked CR characters with NULL. When enabled, naked CR bytes (A CR not followed by a LF) are transmitted without adding a NULL after the CR, and are received without stripping the NULL from CR/NULL sequences found.
Target Platforms: Microsoft .NET Framework 2.0