 | WinUsbManagerDispose Method (Boolean) |
Releases the unmanaged resources used by the
WinUsbManager,
and optionally releases the managed resources.
Namespace:
WinUsbNet
Assembly:
WinUsbNet (in WinUsbNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxprotected virtual void Dispose(
bool disposing
)
Protected Overridable Sub Dispose (
disposing As Boolean
)
protected:
virtual void Dispose(
bool disposing
)
Parameters
- disposing
- Type: SystemBoolean
true to release both managed and
unmanaged resources; false to release only unmanaged resources.
Remarks
This method is called by the public
Dispose
method and the
Finalize method.
Dispose invokes the
protected
Dispose method with the
disposing
parameter set to
true.
Finalize invokes
Dispose with
disposing set to
false.
See Also