PowerTCP Emulation for .NET CF
Binary Property
See Also  Send comments on this topic.
Dart.Emulation Namespace > Telnet Class : Binary Property




Gets or sets the state of the Telnet Transmit-Binary option.

Syntax

Visual Basic (Declaration) 
Public Property Binary As OptionState
Visual Basic (Usage)Copy Code
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.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.