public int HashStringSimulation(string[] arr, int fileSize) { try { return(CppToCsharpAdapter.HashStringSimulation(my_hash_file_pointer, arr, arr.Length, fileSize)); } catch (SEHException) { string message = CppToCsharpAdapter.GetLastErrorMessage(this.my_hash_file_pointer); throw new Exception(message); } catch { throw; } }