dotnet-core/release-notes/1.1/1.0-1.1-api-diff/1.0-1.1-api-diff_System.Runtime.InteropServices.md
2017-07-05 14:24:38 -07:00

457 B
Executable file

System.Runtime.InteropServices

 namespace System.Runtime.InteropServices {
     public static class Marshal {
+        public static string PtrToStringUTF8(IntPtr ptr);
+        public static string PtrToStringUTF8(IntPtr ptr, int byteLen);
+        public static IntPtr StringToCoTaskMemUTF8(string s);
+        public static void ZeroFreeCoTaskMemUTF8(IntPtr s);
     }
     public enum UnmanagedType {
+        LPUTF8Str = 48,
     }
 }