[C#] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / c_sharp / src / org / ldk / structs / ChannelId.cs
index 466e727114fd775f6ecfe55b2efad37cc205cc03..b3615fe61fc984a4c437dacd23f2ec88b68121b8 100644 (file)
@@ -220,5 +220,16 @@ public class ChannelId : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Get the string representation of a ChannelId object
+        */
+       public string to_str() {
+               long ret = bindings.ChannelId_to_str(this.ptr);
+               GC.KeepAlive(this);
+               if (ret >= 0 && ret <= 4096) { return null; }
+               string ret_conv = InternalUtils.decodeString(ret);
+               return ret_conv;
+       }
+
 }
 } } }