Example #1
0
 public void hcreate(string filenam = "", string usernam = "", int longrecord = 0, string path    = "", int sizefile = 0,
                     int keyloc     = 0, string type     = "I", int keylong   = 4, int hashfuncid = 1)
 {
     try
     {
         CppToCsharpAdapter.hcreate(my_hash_file_pointer, filenam, usernam, longrecord, path, sizefile, keyloc, type, keylong, hashfuncid);
     }
     catch (SEHException ex)
     {
         string message = CppToCsharpAdapter.GetLastErrorMessage(this.my_hash_file_pointer);
         throw new Exception(message);
     }
     catch
     {
         throw;
     }
 }