public int FileSize() { try { return(CppToCsharpAdapter.FileSize(my_hash_file_pointer)); } catch (SEHException ex) { string message = CppToCsharpAdapter.GetLastErrorMessage(this.my_hash_file_pointer); throw new Exception(message); } catch { throw; } }