public static int get_battery_channel(int board_id, int[] battery) { if (System.Environment.Is64BitProcess) { return(BoardControllerLibrary64.get_battery_channel(board_id, battery)); } else { return(BoardControllerLibrary32.get_battery_channel(board_id, battery)); } }