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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.