2#include <UsbInformation.h>
26 delete (_usbInformation);
31 return _usbInformation->GetBusNumber();
34 void set(
unsigned int x) {
35 _usbInformation->SetBusNumber(x);
38 property unsigned int DeviceAddress {
40 return _usbInformation->GetDeviceAddress();
43 void set(
unsigned int x) {
44 _usbInformation->SetDeviceAddress(x);
47 property unsigned int VendorId {
49 return _usbInformation->GetVendorId();
52 void set(
unsigned int x) {
53 _usbInformation->SetVendorId(x);
56 property unsigned int ProductId {
58 return _usbInformation->GetProductId();
61 void set(
unsigned int x) {
62 _usbInformation->SetProductId(x);
65 property String^ Speed {
67 return gcnew String(_usbInformation->GetSpeed().c_str());
73 property String^ Manufacturer {
75 return gcnew String(_usbInformation->GetManufacturer().c_str());
81 property String^ ProductDescription {
83 return gcnew String(_usbInformation->GetProductDescription().c_str());
89 property String^ SerialNumber {
91 return gcnew String(_usbInformation->GetSerialNumber().c_str());
Definition WEthernetCommunication.h:5
Definition WUtilities.h:12
The USB information encapsulation.
Definition UsbInformation.h:15
A wrapper on the USB Information.
Definition WUsbInformation.h:13
WUsbInformation()
Base constructor.
Definition WUsbInformation.h:18
property unsigned int BusNumber
Definition WUsbInformation.h:29
~WUsbInformation()
Destructor.
Definition WUsbInformation.h:25
static char * ConvertToNativeString(String^ toConvert)
Definition WUtilities.h:16