public static byte GetByteArrayElement(IntPtr array, int index){} public static int AttachCurrentThread(){}