Saturday 26 December 2015

Windows Phone Device Mode and Version in windows phone Silverlight 8.1.

  1. public MainPage()  
  2. {  
  3.     InitializeComponent();  
  4.     var phone = PhoneNameResolver.Resolve(DeviceStatus.DeviceManufacturer, DeviceStatus.DeviceName);  
  5.     txtModel.Text = Convert.ToString(phone.FullCanonicalName);  
  6.     txtVrsn.Text = Convert.ToString(System.Environment.OSVersion);  
  7.   
  8.      
  9. }  http://www.c-sharpcorner.com/code/2075/windows-phone-device-model-and-version-in-windows-phone-silv.aspx

No comments:

Post a Comment