/// <summary> /// The object user should call this method when they finished with the object. /// In .NET is magaged by the GC. /// </summary> public void Dispose() { CAPI.LASHeader_Destroy(hHeader); // Clean up unmanaged resources here. // Dispose other contained disposable objects. }
/// <summary> /// Destroy the unmanaged resources to the instance. /// </summary> /// <remarks>The user could call this method when they finished with the object.</remarks> public void Destroy() { CAPI.LASHeader_Destroy(hHeader); }