Esempio n. 1
0
 public void Close()
 {
     if (Handle != IntPtr.Zero)
     {
         OmApi.OmReaderClose(Handle);
         Handle = IntPtr.Zero;
     }
 }
Esempio n. 2
0
 //TS - TODO - Doesn't check if it is already open or not.
 public static void Close(OmReader reader)
 {
     OmApi.OmReaderClose(reader.Handle);
 }