/// <summary> /// The object user should call this method when they finished with the object. /// </summary> public void Dispose() { CAPI.LASWriter_Destroy(hwriter); // Clean up unmanaged resources here. // Dispose other contained disposable objects. }