Ejemplo n.º 1
0
 /// <summary>
 /// Releases the unmanaged resources used by iDeviceFile
 /// </summary>
 /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
 unsafe protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (handle != 0)
         {
             MobileDevice.AFCFileRefClose(phone.AFCHandle, handle);
             handle = 0;
         }
     }
     base.Dispose(disposing);
 }