How to get IP address of wp8 device

How to simply retrieve IP address of wp8 device?
microsoft.Phone.Net.NetworkInformation has too many classes related to networkinfo but none of them give IP address.

see this link
http://www.c-sharpcorner.com/UploadFile/2b876a/how-to-get-ip-address-in-windows-phone-8/

Similar Messages

  • How to retrive ip address of connected device in shell script or applescript

    Hi all,
    From Mac PC, how to get ip address of connected device in shell script or applescript.
    there is any way to launch an app on ipad in shell script or applescript.
    thank you in advance for your help
    Mickael

    Hi all,
    From Mac PC, how to get ip address of connected device in shell script or applescript.
    there is any way to launch an app on ipad in shell script or applescript.
    thank you in advance for your help
    Mickael

  • How to get the list of active devices in current wifi network?

    Hi All,
    I am going to a start a new Network based app. So please any one give me an idea on the below question.
    How to get the list of active devices in current wifi network?

    Nope I want the log-in user to retrieve its Group where he is belong. I have this following code
    strUsername = Request.getParameter("username").toLowerCase().trim()+"@dev.test.com.ph";
    strPassword = Request.getParameter("password").toLowerCase().trim();
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    env.put(Context.PROVIDER_URL, MY_HOST);
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL,strUsername);
    env.put(Context.SECURITY_CREDENTIALS, strPassword);
    // enable tracing
    env.put("com.sun.naming.ldap.trace.ber", System.err);
    // Create the initial context
    DirContext initCtx = new InitialDirContext(env);
    // Get the target context
    DirContext targetCtx = (DirContext)initCtx.lookup("");
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    // Perform the search on the target context
    NamingEnumeration enum = targetCtx.search("","(userPrincipalName="+strUsername+")",constraints);
    javax.naming.directory.Attributes attrs;
    NameClassPair item;
    String[] attrIds = new String[]{"MemberOf"};
    // For each answer found, get its "Groups" attribute
    // If relative, resolve it relative to the target context
    // If not relative, resolve it relative to the initial context
    while (enum.hasMore()) {
    item = (NameClassPair)enum.next();
    Out.println(item);
    attrs = targetCtx.getAttributes(item.getName(), attrIds);
    Out.println(attrs + "<br>");
         initCtx.close();
    It returns all this string :
    {memberof=memberOf: CN=CMCanadaRD,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=iMngrCanadaRW,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=Domain Users,CN=Users,DC=dev,DC=test,DC=com,DC=ph, CN=Backup Operators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph, CN=Administrators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph}
    How can i retrieve the Group named CMCanadaRW and CMCanadaRD on the Attribute?
    Thanks

  • How to get MAC address from IP address in LAN

    Hi all,
    How to get MAC address from IP address in LAN (windows or any OS), I would have all IP addresses of my LAN, so I would like to know all MAC address.
    Code examples are highly appreciated.
    Thanks & Regards,
    abel...

    abel wrote:
    Yeah that is only working for local system, but how to get remote system's MAC ..?
    Thanks for quick reply ...
    Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
    As a curious aside how did you manage to get the list of IPs?

  • How to get MAC Address from device?

    Does any one knows, how we can get programmatically the MAC address of Blackberry device?
    Is it possible to get it through BES IT Policy?
    - Thanks

    abel wrote:
    Yeah that is only working for local system, but how to get remote system's MAC ..?
    Thanks for quick reply ...
    Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
    As a curious aside how did you manage to get the list of IPs?

  • How to get delivery address for PO

    I have a problem.
    I am working on a SAP Script , which is for PO(Zmedruck_po) , which is a copy of
    MEDRUCK.
    I am asked to print the delivery adress in a window .
    The scenario is like this .
    In ME23N , under item details , there is a tab called DELIVERY ADDRESS
    this has option to enter the adress details or a delivery number in the  address text box .
    If the address number is present i have to print that address , else i have to print the address which is entered in the delivery address tab.
    If the delivey address number is there i have no problem in printing it ,But if address number is not there ,I need to know how to get the delivery address,
    is it the plant address, company code address ... ?
    I debuged ,but could not find out.
    Can anyone help please .

    Hi,
    I don't know the table that is used to store the manual address on the PO but if you get your ABAPer to checkl the code in ME21N they should be able to tell you.
    Or better still, if one of the other experts here know the table that is used they will post the solution.
    Steve B

  • How to get terminal address along with Change document header

    Dear All
    My client want a report of the frequencies of a sales document changes along with terminal address. In table CDHDR i can get user name, date, t-code but not the terminal address. So requesting to guide me of how to get the terminal address from which terminal the document has been updated.
    Appropriate answer will be rewarded.
    Regards
    Kingshuk
    Edited by: Kings_Roy on May 31, 2010 11:02 AM

    I don't think this information is kept in change documents.  So for the change documents that are already created, you cannot get this information.
    For future however you can do some code changes to get this information.
    Function module TH_USER_INFO can return terminal name as well as IP address for a given client and user.
    All you have to do is either store this additional information along with change documents. For this i think you can check the FMs that are writing SD change documents. 
    OR
    You can use user exit exit SUSR0001 (User exit after logon to SAP System) to call this Function (TH_USER_INFO) at user logon and store this info in a Z table. Later when you are reading change documents, you can get user name, date time from change document and search this Z table for respective user Terminal name and IP Address.
    This is not a complete solution but i hope it will direct you to a solution.
    cheers.

  • How to get MAC address of a phone

    Hi,
    I am able to retrieve phone details by sending Soap request to RisPort. But the response doesn't have MAC address of the phone. Can any one please let me know how to get this information.
    Here is my Soap request
    <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body><SelectCmDevice soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><CmSelectionCriteria href="#id0"/><StateInfo xsi:type="xsd:string"/></SelectCmDevice><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1:CmSelectionCriteria" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="tns:CmSelectionCriteria"><maxReturnedDevices xsi:type="xsd:unsignedInt">10</maxReturnedDevices><Class xsi:type="soapenc:string">Phone</Class><Model xsi:type="xsd:unsignedInt">255</Model><nodeName xsi:type="soapenc:string"/><selectBy xsi:type="soapenc:string">Name</selectBy><selectItems xsi:type="soapenc:Array" xsi:nil="true"/><status xsi:type="soapenc:string"/></multiRef></soapenv:Body></soapenv:Envelope>

    When you receive the response, you receive the name of the ip phone. The name is something like: SEPXXXXXXXXXXXX where all the X correspond to the MAC address of the phone.

  • How to get MAC address using java code

    hi friends
    please write me, How can I get MAC Address of local machine using java code.I don't want to use JNI.
    Please reply me. Its urgent for me
    Thanks in advance
    US

    You have several ways under *nix
    ifconfig -a | grep HWwill output something like
    eth0      Lien encap:Ethernet  HWaddr 00:11:FF:74:FF:B4combined with Runtime.getRuntime().exec("")and Process.getInputStream()you should be able to read it easilly.
    Under Windows (and Linux of course) try jpcap (http://sourceforge.net/projects/jpcap)
    You can also use jnative as a generic tool (http://sourceforge.net/projects/jnative)
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JSF - ADFBC , How to get IP Address

    Hi,
    anybody know how to get the ip address of the connected client , i am using jspx and ADFBC . JSF
    thanks in advance

    Hi Baseem
    Assuming you want this in a JSF backing bean, try the following:
    FacesContext context = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
    String remoteHost = request.getRemoteHost();You'll note the FacesContext allows you access to the HttpServletRequest object, and in turn additional information carried in the request which you are interested in here.
    For more information on this class refer to the Javadoc for HttpServletRequest and parent class ServletRequest. Note that getRemoteHost() doesn't always guarantee to return the client IP, in particular if there is a proxy/firewall in the way which may hide the client IP from your server.
    Given your question I'm guessing you're not familiar with HTTP headers, so you might want to do some reading on the HTTP request/response lifecycle, which should also expose you to the concept of HTTP headers and what information they carry.
    Hope this helps,
    Chris Muir
    http://www.sagecomputing.com.au

  • How to get my address book to icloud

    And how to sync it with other Apple devices like my iPad and Iphone without getting duplicates.

    If you are using Mac OS X 10.6.8 as your information shows, you will have to upgrade to at least Mac OS X 10.7.5 to use iCloud on your Mac.
    You can do that by calling 1-800-MY-APPLE and pay the $20 fee and they will send an email with the download code and instructions.

  • How to Get Ip address of visitor on my website?

    Hi,
    I have to get IP address of visitor whosoever visited my website or we can say who access my website,i searched on google but i did't get much,i tried following code:
    java.net.InetAddress i = java.net.InetAddress.getLocalHost();
    System.out.println(i); // name and IP address
    System.out.println(i.getHostName()); // name
    System.out.println(i.getHostAddress()); // IP address only
    But above code shows IP of my machine where my application is deployed,not the one i need,How can i get IP of user who visited my website,Please Help.
    Thanks.

    Sorry, i was doing a little mistake in my code,
    i Use this String remoteAdd=request.getRemoteHost(); as you said,it works ,thanks.
    But i have further questions.
    Above code displays only External IP , how can i get IP of pc which is on LAN, eg in any company there is a server and under that server each PC is assigned an IP,how can i get IP of pc which is on LAN.
    Bst example to describe my problem is http://www.whatsmyip.org/more/ this website,
    they show user even his/her machines IP on lan too,How can i implement this??

  • How to get Plant address from SAP R/3 to SRM

    Hi Gurus,
    We need to retrieve the plant address from SAP R/3 to SRM and display it in the output list of the report (SRM).
    Suggest any standard FM or should we need to create a Custom Remote enabled FM and put the select query to get the address.
    Regards
    Paul

    Hi Paul,
    Try using the RFC_READ_TABLE function module...
    Pass the table name as t001w which contains the plant details.
    Hope this helps.
    Thanks,
    Pradeep

  • How to get Ip Address on Forms6i

    Hi,
    I tried to get Ip Address using
    SYS_CONTEXT('USERENV','IP_ADDRESS') in a database function but the problem it always brings the Forms Server Ip Address instead of Client Ip Address on Web Forms. I'm just wondering is there any way to deal this problem?
    Thanks
    Rao Guduru
    null

    Isn't the IP address required
    No.

  • How  to get Mail  address  of  an Employee in  Workflow  ?

    Hello Everybody ,
    I want  to send mail  to employee   through  workflow    . I  have  Employee  number  PERNR  but  which method and  B.O   should i used  to get   email  address  of  that  employee   .?
    Any solution .?
    Regards,
    Sandeep Jadhav

    hi:
    Try the function module HR_FBN_GET_USER_EMAIL_ADDRESS
    else Create a Z_function module and put the following code as
    ORM find_email_address USING    p_uname
                            CHANGING p_recextnam LIKE soos1-recextnam.
      DATA:   t_pernr LIKE pa0105-pernr,
              t_email LIKE pa0105-usrid_long.
    STEP 1 - Find personnel number for UNAME
      SELECT SINGLE pernr INTO t_pernr
        FROM pa0105
        WHERE subty = '0001' AND
              endda >= sy-datum AND
              begda <= sy-datum AND
              usrid = p_uname.
    Employee record found
      IF sy-subrc = 0.
    STEP 2 - Find email address for personnel number
        SELECT SINGLE usrid_long INTO t_email
          FROM pa0105
          WHERE pernr = t_pernr AND
                subty = '0022' AND
                endda >= sy-datum AND
                begda <= sy-datum.
        IF sy-subrc = 0.
          IF NOT p_recextnam IS INITIAL.
            CONCATENATE p_recextnam t_email
              INTO p_recextnam SEPARATED BY ','.
          ELSE.
            p_recextnam = t_email.
          ENDIF.
        ELSE.  "Never found an email address for employee
    WHO SHOULD WE SEND TO HERE??? ***
        ENDIF.
    Employee number not found. Search in ADR6 table
      ELSE.
    See if user name is in the username table.
    i.e. The user is not an employee
        SELECT SINGLE addrnumber persnumber
          INTO (usr21-addrnumber, usr21-persnumber)
          FROM usr21
          WHERE bname = p_uname.
        IF sy-subrc = 0.
    Found user name now let's get the email address
          SELECT SINGLE smtp_addr INTO t_email
            FROM adr6
            WHERE addrnumber = usr21-addrnumber AND
                  persnumber = usr21-persnumber.
          IF sy-subrc <> 0 OR t_email IS INITIAL.
    WHO SHOULD WE SEND TO HERE??? ***
          ELSE.  "Found email
            IF NOT p_recextnam IS INITIAL.
              CONCATENATE p_recextnam t_email
                INTO p_recextnam SEPARATED BY ','.
            ELSE.
              p_recextnam = t_email.
            ENDIF.
          ENDIF.
        ELSE.   "UNAME just does not have an email address addigned at all
    WHO SHOULD WE SEND TO HERE??? ***
        ENDIF.
      ENDIF.
    Regards
    Shashi

Maybe you are looking for

  • Simple question regarding the loop browser

    Unless the loop is in a time different from 4/4 shouldnt every loop ( orchestral etc etc ) that is dragged over the loop browser be incorporated into the loop browser and if the loops name is typed in should appear in the browser? is this written in

  • Is there a way to sort by songs that require a password or marked with !

    My laptop was wiped clean and I had to fetch all backed up songs from external. Now many songs have ! marks next to them and others require an old user name and password. Is there any way to view these by sorting so I don't just have to stumble upon

  • In xi server , client admin

    hi in single xi server , can it possible to do client admin, user admin, tms and all in single xi server without any support of ecc 5.0 or 6.0 or else ? - plz give me the sugg thanq

  • Flash scripting in photoshop elements.

    Photoshop elements 7 running a flash script. Everything needed to do this is on the adobe labs page. Click the images to see bigger views.

  • Song lists to purchase, produced from a search, don't show genre

    I just downloaded the latest itunes software and now find when I do a search for songs to purchase with a particular name or artist to purchase, the list of songs does not show the music genre for each song as it did in the last version of itunes. Am