Discussion Board

Results 1 to 6 of 6
  1. #1
    i am new to windows phone develpopment .
    I want to retrieve IMSI and MSISDN number in my code. I am developing using Visual Studio 2010.
    Please help me

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    As far as I know you can not get either one of these with any WP API. Also in future please ask under the most appropriate category section in this dibo. This time I moved this from the general feedback section to here.

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,743
    What you have instead are the User/DeviceExtendedProperties in Microsoft.Phone.Info: http://msdn.microsoft.com/en-us/libr...v=vs.105).aspx

  4. #4
    Registered User mehul_raje's Avatar
    Join Date
    Jul 2012
    Posts
    18
    Yes currently windows phone 8 sdk does not have any api for retrieving IMSI,IMEI, MSISDN,SIM country and region details , SIM card contact details etc.

  5. #5
    Nokia Developer Champion WPMorocco's Avatar
    Join Date
    Jul 2012
    Posts
    77
    What do you need that for exactly ? Did you consider using DeviceUniqueId or ANID ?

  6. #6
    Registered User pavan.pareta's Avatar
    Join Date
    Jan 2009
    Location
    India
    Posts
    128
    Hi,

    In addition to wizard_hu & symbianyuccav, you can use the following code snippet.

    Namespace for the following code.

    Microsoft.Phone.Info

    Code:
    public static void GetHardwareDetails()
            {
                byte[] myDeviceID = (byte[])Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceUniqueId");
                string idAsString = Convert.ToBase64String(myDeviceID);
                string Manufacturer = (string)Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceManufacturer");
                string DeviceName = (string)Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceName");
                MessageBox.Show("myDeviceID:" + idAsString + "\nManufacturer:" + Manufacturer + "\nDeviceName:" + DeviceName);
            }
    Hope it helps.
    Pavan Pareta
    Sr. Software Engineer
    http://windows-mobile-dev.blogspot.com

Similar Threads

  1. Retrieving the phone number
    By susmitham in forum Mobile Java General
    Replies: 4
    Last Post: 2010-07-14, 18:49
  2. My own mobile phone number or IMSI or IMEI using J2ME
    By sprateek in forum Mobile Java General
    Replies: 5
    Last Post: 2009-02-16, 04:31
  3. is it passible to find out phone number by using IMSI number
    By Bhoopathi Kummara in forum Symbian C++
    Replies: 3
    Last Post: 2008-08-05, 17:05
  4. Problem in retrieving IMSI number
    By furqankamani in forum Symbian C++
    Replies: 2
    Last Post: 2006-09-26, 08:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved