How to convert from python 2.7 string object to C# string object. The function is C# is as follows:
public static exte Int32 SMCOpenEth(string ipaddr, ref IntPtr phandle);
ctypes converts a string object to char* but I need a string object.
How to convert from python 2.7 string object to C# string object. The function is C# is as follows:
public static exte Int32 SMCOpenEth(string ipaddr, ref IntPtr phandle);
ctypes converts a string object to char* but I need a string object.
برچسب:
نویسنده: استخدام کار