# GetDeviceName

## Description

This command is deprecated, please use GetDeviceBaseName and GetDeviceType instead. Returns a string containing the name of the current platform. e.g. "windows" or "bada". When dealing with iOS more information is returned e.g. on iPad 1 "ios|iPad1,1" and on iPod 2nd gen: "ios|iPod2,1" and on iPhone 3G: "ios|iPhone1,2". The first number is the major model number, the second is the minor model number.

## Definition

string GetDeviceName( )

char* agk::GetDeviceName( )