×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    1

    retrieving IMSI number in windows phone

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: retrieving IMSI number in windows phone

    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
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: retrieving IMSI number in windows phone

    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
    Join Date
    Jul 2012
    Posts
    20

    Re: retrieving IMSI number in windows phone

    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
    Join Date
    Jul 2012
    Posts
    88

    Re: retrieving IMSI number in windows phone

    What do you need that for exactly ? Did you consider using DeviceUniqueId or ANID ?

  6. #6
    Regular Contributor
    Join Date
    Jan 2009
    Location
    India
    Posts
    138

    Re: retrieving IMSI number in windows phone

    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

  7. #7
    Registered User
    Join Date
    Sep 2013
    Posts
    1

    Re: retrieving IMSI number in windows phone

    I am Developing an App for Air-India and they require to store some unique number from which the user can be tracked as the app involves payment . Kindly help me to Get IMEI Number if not provide me with different suggestion.
    Thank you in Advance

  8. #8
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,563

    Re: retrieving IMSI number in windows phone

    Quote Originally Posted by Gautam_Sareen View Post
    I am Developing an App for Air-India and they require to store some unique number from which the user can be tracked as the app involves payment . Kindly help me to Get IMEI Number if not provide me with different suggestion.
    Thank you in Advance
    As said earlier, getting IMEI is not possible currently. But there are couple of suggestions which are provided in post #5 and #6 already.

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    523

    Re: retrieving IMSI number in windows phone

    There are basically two IDs you could use in your App.

    1.) The device ID as posted in Post #6. It is unique for the device.
    2.) The user ID (ANID2) as provided here: http://msdn.microsoft.com/EN-US/libr...vs.105%29.aspx It's unique for the user so if a user has multiple phones all of them will provide you with the same ID.

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
    Replies: 3
    Last Post: 2008-08-05, 17:05
  4. Problem in retrieving IMSI number
    By furqankamani in forum Symbian
    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
  •  
×