Skip to main content
UsbDevice.Close | close method

Applies to Windows only

Releases the reference to the UsbDevice object that was previously obtained by calling FromIdAsync.

Syntax


usbDevice.close();

public:
void Close()

Parameters

This method has no parameters.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

UsbDevice
Fromidasync