Dart.Snmp.SimpleType Namespace > OctetString Class > ToString Method : ToString(String) Method |
Public Overloads Function ToString( _ ByVal displayHint As String _ ) As String
Dim instance As OctetString Dim displayHint As String Dim value As String value = instance.ToString(displayHint)
public string ToString( string displayHint )
public: string* ToString( string* displayHint )
public: String^ ToString( String^ displayHint )
The displayHint consists of any number of "octet-specifications" which contain five parts:
Here are some examples:
Encoded Value | Display Hint | Result |
---|---|---|
160 20 243 123 | 1x: | a0:14:f3:7b |
20 10 9 3 11 45 32 8 43 2 30 | 2d-1d-1d,1d:1d:1d.1d,1a1d:1d | 2010-9-3,11:45:32.8,+2:30 |
02 97 97 97 97 05 98 98 98 98 98 03 99 99 122 122 99 99 100 100 | *2a:!*1a.$*2a-%1a | aa:aa!b.b.b.b.b$cc-zz-cc%dd |