How to get static IP address in adobe 2.0 beta ?

Actually I am trying to get the static IP address as soon as the
internet is connected .How to get the static IP address from air application ?
Regards,
Rahul.

Try this (you need AIR 2 SDK):
var interfaces:Vector.<NetworkInterface> = new Vector.<NetworkInterface>();
interfaces =  NetworkInfo.networkInfo.findInterfaces()
for each (var netf:NetworkInterface in interfaces)
                      var addresses:Vector.<InterfaceAddress> = netf.addresses;
                      for each(var interfaceAddress:InterfaceAddress in addresses)
                                         trace(interfaceAddress.address);

Similar Messages

  • How to assign static ip address to the server having solaris 10. i.e. nge0

    hi,
    how to assign static ip address to the server having solaris 10. i.e. nge0 i.e. 192.168.3.125 ipshold be persistantt across reboots. what steps do i need to follow to put all information including gateway,netmask etc..Also i want to integrate one init script ..can i integrate it using /etc/init.d/<service name> like linux. and do chkconfig on it?i am not getting complex procedure of SPF and FMRI etc..can u help me?

    Create a file in your /etc directory called hostname.nge0. Add the hostname of your system to this file. In your /etc/hosts file, assign the static IP address you want to the same hostname. You can then disable and enable the network-physical service to configure the network interface:
    svcadm disable network-physical
    svcadm enable network-physical

  • How to get the 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,
    try using the below method:
    Goto TWLAD table with storage location (EKPO-LGORT) as key to get address number (ADDRNUMBER).  then goto ADRC table to get the address of the delivery
    Regards
    Shiva

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • How to get the trial version of adobe access whether can protect content

    i submit info in
    https://www.adobe.com/cfusion/mmform/index.cfm?name=flash_access_trial_cert
    but nobody contact me..
    How to get the trial version of adobe access?
    Thanks

    Hello,
    Apologies for that!  Currently, Adobe is shut down for the holidays which is why you're seeing a delay. Adobe will resume work again on January 2nd.
    If you can private message me your contact information, I can contact our sales team to make sure they are aware of your request.
    Sent from my mobile,
    /Eric

  • How to get Client IP address in oracle apps. Are there any API's.

    hi,
    I have one query
    ->How to get Client IP address in oracle apps. Are there any API's.
    regards,
    krishna

    Hi,
    this is very usefull
    however are this data stored on the db or is only a temporary view?
    I would like to have to keep track of all client connected.
    Thanx a lot

  • SAP Cloud For Customer How to Get the IP Address of Tenant

    Hi Experts,
    I need to know how to get the IP Address of our cloud Tenant ?
    Can anyone know please tell me the process.
    Many Thanks
    Mithun

    Hi Mithun,
    In my understanding there SAP will not share IP address of tenant. If this is really urgent you should discuss to SAP Partner coach or any other representative. SAP network team will not directly communicate with you, this will require numerous approval inside SAP itself.
    Thanks
    Sunil Maurya

  • I am just starting out in graphic design and I wanted to know how to get more involved with either adobe and or graphic design? I am really very interested in working with adobe and graphic design more and becoming more involved with both!!

    I am just starting out in graphic design and I wanted to know how to get more involved with either adobe and or graphic design? I am really very interested in working with adobe and graphic design more and becoming more involved with both!!

    I have now recently downloaded 10.0.2 which is confusing in itself, as, as far as I can ascertain that is actually version 11, but I'm not even sure about that.
    Version 10.0.2 is the newest version and the successor to GarageBand '11 (version 6.0.5).
    The '11 is referring to the iLife '11 suit of multimedia application - the older GarageBand was a part of this bundle.
    Have a look at Edgar's graphical enhanced manuals, the explain very detailed how things work and why. You can buy them as iBooks from the iBook store or directly from the page:
    http://DingDingMusic.com/Manuals/

  • How to get the IP address of a new stream?

    Can anyone tell me how to get the IP address from which a newly detected RTP stream is being sent, especially when a NewReceiveStreamEvent is posted? Or, is it possible to do so?
    Thanks in advance.

    My RTPConnector follows the example from the JMF home page here: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/RTPConnector.html
    I have not done any measurement regarding the performance of my RTPConnector implementation compare to that of the default but I did find some way to deal with the bursty nature of the default RTP transmission which caused some problem with 3rd party apps that don't handle jitter well. I created a 20ms timer that acts as a gatekeeper that allows the transmitter to send RTP packets. Unfortunately Java timers aren't very precise.
    I also improved upon (I think I did anyway) the efficiency of the default (IBM) ULaw encoder as discussed here: http://forum.java.sun.com/thread.jspa?threadID=597011
    My problems with performance issues were mainly in the speed at which processors and players are created and realized on slower PC's.

  • How to get Unique IP address for my Mac

    Hello - I agree with several of the posts I've read that Linksys products are very Windows-centric and information for Mac users is sketchy.
    Our household uses both Windows and Macs. It took a long time to get my Mac going via customer service on the telephone (and they take about an hour to answer). But we finally did get the job done and customer service was very diligent in helping solve the problem.
    My question is: customer service gave me an IP number to enter for my Mac - I'm not sure how they came up with that number. I now have two more Macs in the household I'd like to get setup for our network.
    Where or how do I get unique IP numbers for those two machines? I tried using the same one that I was given by LInksys, but then of course, those two machines cannot be ON at the same time - you are told the IP# xxxxx is already in use.
    How does each Mac get its own IP number for the purposes of being on our wireless system?
    Thanks a bunch...

    It would be easier if you simply posted the IP address they gave you and which router model and version (check the label underneath the router) you have. Also the firmware version you are running would be helpful.
    Some of the later WRT54G versions (e.g. v6) had some issues assigning Macs dynamic IP addresses. I guess that was your problem why the support assigned a static IP address instead.
    For your other Macs you simply use the exact same settings exact for the IP address of the computer. A default Linksys routers uses the network 192.168.1.0/255.255.255.0. The router itself is 192.168.1.1. The DHCP server on the router assigns the addresses 192.168.1.100-149. All addresses 192.168.1.2-99 and 150-254 are available.
    The Mac that is already setup should have an address in this range. You can choose any other address in this range for the other Macs. There is no rule whatsoever how you are supposed to assign them. You can use 2,3,4 or 10,20,30, or 13, 26, 39, or ... ;-)

  • How to apply Static IP address without disabling data plan

    Our Network team does not want to open all ports on a server mobile staff needs to access.  We ordered static IP addresses and entered them on the firewall so they can specificall access.  Once the IP address is added to the iPad - the data plan is disabled.

    I have just tried giving my iPhone's WiFi a static IP address and it did not stop the cellular data from working.
    I probably misunderstand your problem.
    I presume by a static address you meant the WiFi, was this a company internal IP address or an external one?
    There could be differences between the iPhone and the iPad in how it handles this situation, my iPad is WiFi only so I could not test this.
    If you get no other suggestions on the forum I suggest a visit to Appe store if possible or a phone call to Apple. If you are not under Apple Care there may be a charge for the telephone support but may save a lot of hassle. The option is to ask your Data plan provider.
    Sorry I can offer no other suggestions.

  • How to get the IP address of smtp server?

    For A record in DNS, we can use Java API InetAddress.getHostAddress() to get the IP address.
    But for mx record, how to get the IPaddress?

    If you know the hostname of the MX record (eg. mail.somehost.com), you can still use the InetAddress.getByName(hostname).getAddress()
    If you don't know the specific host name you can do a DNS lookup directly:
            String host="somehost.com";
            DirContext ictx = new InitialDirContext();
            Attributes attrs = ictx.getAttributes("dns:/" + host, new String[]{"MX"});This will give you a javax.naming.directory.Attributes object from which you can...
    Attribute att = attrs.get ("MX");This will give you all the MX records for the domain. To get the IP address of the MX hosts, you need to parse the record String returned. Usually something like:
    somehost.com       MX preference = 10, mail exchanger = mail.somehost.comParse out the mail.somehost.com and use:
        String mailhost = <Parse MX record here>
        InetAddress host = InetAddress.getByName(mailhost);

  • Reg : How to get the company address in Crystal Report

    Dear members,
    I am stuck up with problem in Crystal Report in my project. I want to get the company address in the Crystal Report. How can i get the company address in the crystal report. Hope i will get help in this regard.
    Thank you.
    Regards,
    Venkatesh Rajagopalan

    Hi Dear
      plz send me  what is your methad to applay,
    so i am sending u code   for company address
    all company information  contain the OADM table ,
    so applay the select query  ang get the data form table
    this ia sample code ........
      SAPbobsCOM.Recordset oRecordset = (SAPbobsCOM.Recordset)ICreon_SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                    string GetComp = "select * from OADM ";
                    oRecordset.DoQuery(GetComp);
                    strCompName = oRecordset.Fields.Item("CompnyName").Value.ToString().Trim();
       Use this code  u will find the company name
      and after  that pass this valu a parameter
    oRPT.SetParametervalue ("CompanyName", strCompanyName)
      so pass the strCompanyName  as a parameter in the  cdrystel report.
    hope  help this code ,
    if u have any problem so plz send me  question in form,
    if u r  satisfied my answer so pl give me rewards point,

  • How to get player's score with Adobe's Gaming SDK GameCenter ANE

    Hi! I need your help with something that should be super easy, but I really couldn't find anywhere.
    How do I get local player's highscore with adobe's gamecenter ane, from Gaming SDK? There is a requestScores, but in the only parameter it would make sense to specify the player type (playerScope:String) I only have 2 options to specify (Friends or Global). No option for Local. Default is global..
    When using GameCenter, I want to show the player when he beats his own GameCenter's highscore, and print the current highscore on a results screen when he doesn't beat it. But I can't find anywhere how to get it through this ANE.

    Hi Decco, I would like to show only the player's highscores inside my game, for each leaderboard.
    4morrone, I have the highscore stored in the device, but I would prefer if the player could see his highscores in any device he is logged in. Or if he re-installed the app, for example. When the player beats a level with a new highscore I show him a "New Highscore" screen, which wouldn't be so cool if the local highscore doesn't match his GameCenter score.
    I mean, Its not a really big problem, but I thought it would be easy. It's kind of strange that there is a function to get friends scores, global scores, but not local player's scores (which is a more important information), why would I get friend's GameCenter scores, if I can't compare them to the player's GameCenter score.

  • How to get the memory address of an array (pointer in C)?

    I am writing an application that exchanges data with a PXI device via DMA.  Basically I will provide it a memory address and a direction, and it transfers the data.  I would like to give it the memory location of an array in LabVIEW, but I do not know how to get the memory location without doing a DLL call to C code that returns the pointer.  Is there an easy way to do this in LabVIEW?  Any help is much appreciated.

    A similar question was asked recently regarding strings. You cannot pass pointers in LabVIEW as you do in C. You can pass an array to a DLL, but that means you would need to write a wrapper DLL. Be sure to read the section in the LabVIEW Help on calling code from text-based languages and also take a look at the "Call DLL" example that ships with LabVIEW  - it contains many examples of how to deal with various datatypes.

Maybe you are looking for