PowerTCP Emulation for .NET
Binary Property




Gets or sets the state of the Telnet Transmit-Binary option.
Syntax
<DefaultValueAttribute()>
Public Property Binary As OptionState
Dim instance As Telnet
Dim value As OptionState
 
instance.Binary = value
 
value = instance.Binary
[DefaultValue()]
public OptionState Binary {get; set;}
[DefaultValue()]
public: __property OptionState get_Binary();
public: __property void set_Binary( 
   OptionState value
);
[DefaultValue()]
public:
property OptionState Binary {
   OptionState get();
   void set (    OptionState value);
}

Property Value

An OptionState with a default value of Off.
Remarks

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.

See Also

Reference

Telnet Class
Telnet Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic