Frees unmanaged resources. In the overload, the disposing parameter is a Boolean that indicates whether the method call comes from a Dispose method (its value is true) or from a finalizer (its value is false).
protected virtual void Dispose(
bool disposing
)
disposing
true to indicate object should free unmanaged resources; otherwise, false.