Share via


Device.Name Property

Gets a string that represents the device's name.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public ReadOnly Property Name As String
'Usage
Dim instance As Device 
Dim value As String 

value = instance.Name
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
public function get Name () : String

Property Value

Type: System.String
The name of the device.

Remarks

This is a read only property.

.NET Framework Security

See Also

Reference

Device Class

Device Members

Microsoft.SmartDevice.Connectivity Namespace