get version version
()
| 149 | /// <returns>version</returns> |
| 150 | /// <exception cref="BrainFlowException"></exception> |
| 151 | public static string get_version () |
| 152 | { |
| 153 | int[] len = new int[1]; |
| 154 | byte[] str = new byte[64]; |
| 155 | int res = MLModuleLibrary.get_version_ml_module (str, len, 64); |
| 156 | if (res != (int)BrainFlowExitCodes.STATUS_OK) |
| 157 | { |
| 158 | throw new BrainFlowError (res); |
| 159 | } |
| 160 | string version = System.Text.Encoding.UTF8.GetString (str, 0, len[0]); |
| 161 | return version; |
| 162 | } |
| 163 | |
| 164 | } |
| 165 | } |
nothing calls this directly
no test coverage detected