다음을 통해 공유


UsbDevice.SerialNumber Property

Definition

Returns the serial number of the device.

public virtual string? SerialNumber { [Android.Runtime.Register("getSerialNumber", "()Ljava/lang/String;", "GetGetSerialNumberHandler")] get; }
[<get: Android.Runtime.Register("getSerialNumber", "()Ljava/lang/String;", "GetGetSerialNumberHandler")>]
member this.SerialNumber : string

Property Value

the serial number name, or null if the property could not be read

Attributes

Remarks

Returns the serial number of the device.

Java documentation for android.hardware.usb.UsbDevice.getSerialNumber().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to