Dela via


Device.Platform Property

Gets the Platform, such as Windows Mobile 5.0 Pocket PC, that the device belongs to.

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

Syntax

'Declaration
Public ReadOnly Property Platform As Platform
'Usage
Dim instance As Device 
Dim value As Platform 

value = instance.Platform
public Platform Platform { get; }
public:
property Platform^ Platform {
    Platform^ get ();
}
public function get Platform () : Platform

Property Value

Type: Microsoft.SmartDevice.Connectivity.Platform
The Platform the device belongs to.

Remarks

This is a read only property.

.NET Framework Security

See Also

Reference

Device Class

Device Members

Microsoft.SmartDevice.Connectivity Namespace