Xceed .NET Libraries Documentation
Xceed.SSH.Core Assembly / Xceed.SSH.Core Namespace / SSHString Structure


In This Topic
    SSHString Structure
    In This Topic
    RFC 4251: 5. Data Type Representations Used in the SSH Protocols Arbitrary length binary string. Strings are allowed to contain arbitrary binary data, including null characters and 8-bit characters. They are stored as a uint32 containing its length (number of bytes that follow) and zero (= empty string) or more bytes that are the value of the string. Terminating null characters are not used. Strings are also used to store text. In that case, US-ASCII is used for internal names, and ISO-10646 UTF-8 for text that might be displayed to the user. The terminating null character SHOULD NOT normally be stored in the string. For example: the US-ASCII string "testing" is represented as 00 00 00 07 t e s t i n g. The UTF-8 mapping does not alter the encoding of US-ASCII characters.
    Syntax
    'Declaration
     
    
    Public Structure SSHString 
       Inherits System.ValueType
    'Usage
     
    
    Dim instance As SSHString
    public struct SSHString : System.ValueType 
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Xceed.SSH.Core.SSHString

    Public Fields
     NameDescription
    Public Field  
    Public Field  
    Public Field  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Standard: netstandard2.0, netstandard2.1

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also