PowerTCP Sockets for .NET
CRLF Property (PtyBase)




Set to true if the Pty property is used and a CR should be converted to a CRLF for sending.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property CRLF As Boolean
'Usage
 
Dim instance As PtyBase
Dim value As Boolean
 
instance.CRLF = value
 
value = instance.CRLF
[DefaultValue()]
public bool CRLF {get; set;}
[DefaultValue()]
public: __property bool get_CRLF();
public: __property void set_CRLF( 
   bool value
);
[DefaultValue()]
public:
property bool CRLF {
   bool get();
   void set (    bool value);
}
Remarks
This property controls the behavior of the TextBox assigned to the Pty property. For example, the Echo protocol echoes back any sent character. Since as textbox requires a CRLF, set this property to true so that a CRLF will be generated when the return key is pressed. Defaults to false.
See Also

Reference

PtyBase Class
PtyBase Members


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