How to get IPv6 site prefix via Windows API?

Hello,
we need urgent help. We have to automatically configure a postgres sql server. For this reason we need to determine the IPv6 site prefix. Using windows command line this is pretty easy:
netsh interface ipv6 show siteprefix
We are only interested in the site prefixes themselves, e.g. no lease time is needed. We want to get this information via Windows API.
For this purpose we use GetAdaptersAddresses function. Within the result of
FirstPrefix the needed information is included. But it's much to much information and it's not clear for us how to filter the result. We need always
exact the same result like the command above produces.
Any help or hint would be very very appreciated.
Greg

Hi Valery,
I mean a Portal Resource..
Inside portal, when a go to properties  of a specific document, in tab "Access Link" it shows a "Short Id".
I'd like to know via API how to get this Id, or any other Code that it's unique for every resource or document in portal.
Thank you!

Similar Messages

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How to get rid of the command window....

    How to get rid of the command window, automatically, once the .bat file which execute the .jar has been executed?
    Znx

    If you don't want the command window to show, use:
    javaw yourClass
    instead of...
    java yourClass

  • How to get carrier company name on windows phone 8.1?

    how to get carrier company name on windows phone 8.1?

    excuse me, i referrer the link http://stackoverflow.com/questions/26973111/get-carrier-name-cellular-mobile-operator-name-using-windows-phone-8-1 to
    modify my universal app.
    but i always get 0 count from the GetNetworkNames() method. 
    if my sim card is for 3G, but i setting 4G in highest connection speed. i got the "the pipe is being closed".
    how can i solve the problem? thank you.

  • How to get Caps lock indicator in windows 8.1

    How to get Caps lock indicator in windows 8.1   ???
    i am using wireless keyboard KG 1061

    Hi bhargav0,
    I understand you would like a caps lock indicator in Windows 8.1. I admit, I don't know of any fix that simply shows you on the screen, but there is an auditory warning that you can implement if that would be of help to you. Take a look at the following video, Windows® 8.1: Make the Caps Lock key beep when pressed. I hope this will be of use to you. Have a great day.
    Ryan1216
    I work on behalf of HP
    The advice and opinions given here are my own and not those of HP

  • HELP!! How to get the position of active windows in the desktop

    How to get the position of active windows in the desktop

    You mean, active windows other than the program you're running, or windows the program puts there? And a real desktop (like where MyComputer is), or a desktop pane?

  • I have recently had to fire my web designer who was using iWeb.  Now I'm trying to figure out how to get the site to open in iWeb on my new MacBook Pro.  Is there a way?

    I have recently had to fire my web designer who was using iWeb.  Now I'm trying to figure out how to get the site to open in iWeb on my new MacBook Pro.  Is there a way?

    Firstly iWeb CAN'T IMPORT any kind of published html code as it has no import facility.  You can however add html code, javascript and css by selecting the html snippet and placing it on your page the entering the code in here and clicking on Apply.  You DO NOT create a shape as you say - you use the html snippet and place your code in there.
    There are not really a lot of ways in which you can write code - if you want to enter small amounts of code, then you would use an ordinary text editor to do this such as Text Edit on a Mac or Text Wrangler.  If you want to add code to iWeb like this, then you would either use the html snippet method in iWeb itself or you would have to publish the site to a local folder from iWeb and open the relevant html page with a text editor and add the additional code in this way and then publish.  However, if he decided to add the code with a text editor, then you would have to upload the pages directly to the server using an ftp client - if you try to upload the site directly from iWeb, all the extra code will be overwritten.
    As for checking whether the site was created using iWeb, all you need do is view the site in Safari and then click on View and then select View Source Code and it will tell you.
    Even thoough extra code was added to the site and he might well have done this by publishing to a local folder and adding the code with a text editor, he should still have the domain file for the site too.
    Ask again.  I'm sure that for adding quick code, most would not want to use programmes such as Dreamweaver, but a simple text editor will suffice.  As OT already said, if he claims that he does not have the domain.sites file, then try Flux 4 which is a web design programme and has full import facilities.  At least this way, if he just gives you the published version of the site, you have some way of opening it.
    You can download a free trial of Flux 4 and you can also purchase the full version from the Mac App Store if you decide you like it.

  • I just upgraded Dreamweaver CS5 to CC - sites did not migrate - how to get my sites back?

    I just upgraded Dreamweaver CS5 to CC - sites did not migrate - how to get my sites back?
    (I'd rather not recreate them all from scratch)
    PS - Go easy on me - it's my first post in this forum .
    Thanks,
    Rob

    Seems to be different results for different people.
    My sites have usually migrated automatically whenever I have upgraded. Others report the same outcome as you.
    I've never traced the reasons for non-migration to a single root cause.

  • Does somebody know how to get to the desktop via hot corners whilst being in full screen mode? it doesn't work on my mac... :/ thx for helping!

    does somebody know how to get to the desktop via hot corners whilst being in full screen mode? it doesn't work on my mac... :/ thx for helping!

    bump

  • HT1589 This doesn't work in Windows 8. Anybody know how to get this dialog box in Windows 8?

    This doesn't work in Windows 8. Anybody know how to get this dialog box in Windows 8?

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • How to get facebook to say via ipad when I share something using my ipad

    how to get facebook to say via ipad when I share something using my ipad

    It appears that the app is indeed not available in Finland, as I can't find it by searching the iTunes Store there. You'll have to contact the developer of Onlive Desktop and ask if they have any plans to release their service in your country.
    Regards.

  • How to get  Unapplied Amount with SQL or API in AR/ORACLE RECEIVABLES

    Hi ,
    how to get Unapplied Amount with SQL or API in AR/ORACLE RECEIVABLES.
    who can help me ? Thank you very much !

    i get it from private API.
    SELECT SUM(decode(ra.status, 'UNAPP', nvl(ra.amount_applied, 0), 0)) unapplied_amount
    FROM ar_receivable_applications ra
    WHERE ra.cash_receipt_id = 1820
    AND ra.status IN ('UNAPP', 'ACTIVITY')

  • How to get A2DP on Macbook Pro (Windows 7 X64)

    I have been fighting like crazy to figure out a way to get A2DP working on my Windows 7 x64 bootcamp partition, any time I pair a stero headset (tried Dynex and Rocketfish) it detects the device but then says there are no compatible drivers for it, provides a link to Broadcomm to download current drivers, and then the installer sits there saying it can't detect any bluetooth adapters. This seems to be a common theme from searching the web as Microsoft doesn't appear to include A2DP support native in Windows 7 and requires the bluetooth manufacturer to provide this support.
    Does anyone know how to get A2DP working under Windows 7 X64 on a macbook pro?

    I was researching this issue today as well, and so far the best I have found is:
    http://www.a2dp.info/Articles/BlueSoleil-How-To.html
    I haven't had a chance to try it yet (I'm at work), but I will over the weekend.

  • TS3212 how to get 64 bit itunes on windows

    how to get 64 BIT TUNES ON WINDOWS

    lo**** wrote:
    My problem is that my registry only shows one ORACLE_HOME--the 64-bit full install whereas Cognos reqs to point to 32-bit client. The env/reg variables probably do exist/show, only in the right place. In Win 64-bit, there's a separate branch of reg entries for 32-bit (look for WoW6432Node).
    >
    ... whereas the 32-bit client sqlplus (D:\oracle\client\app\dock\product\11.2.0\client_1\BIN\sqlplus.exe) does not work. The error is:
    ORA-12560: TNS:protocol adapter errorIt works as expected. Since there is no Oracle instance in the Client home (no surprise), you can't connect "locally" from the 32-bit sqlplus. I.e. you need to use "...@connectident" in the connect string.
    In order to fix Cognos, I changed my ORACLE_HOME and path to point to the 32-bit client (i.e. from D:\oracle\app\dock\product\11.2.0\dbhome_1 toOn Windows platform, ORACLE_HOME should not be set by user (it is already set by installer, in the Registry).
    To pick up proper settings, PATH need to be set or used.
    >
    Sooooo, I think I need to set the OH and PATH back to the 64-bit as that is what the Listener requires but any ideas how to get the 32-bit sqlplus to also work?!?Please remove OH from env system settings.
    Multiple homes on Windows is often a source of problems, since extra consideration and setup is needed more than just installing the software.
    If "Cognos" relies on system PATH, then one way to go might be:
    - put path to 32-bit Client bin folder first in PATH
    - set up a shortcut to command window with only 64-bit in PATH, for times when you need to administer the database via command line.

  • How to get my sites and settings back

    My hard drive crashed and I reinstalled windows xp and then Dreamweaver CS4.
    I now have two problems...
    1) I copy all of my dreamweaver application settings to the dreamweaver cs4 en_US/Configuration folder but every time I do this and then restart Dreamweaver a new configuration folder is created instead called configuration-1, etc. and none of my settings are back.
    2) How can I get my site definitions off of the old drive. I still have access to the drive and all of the files on it but I can't boot that drive. Someone said that the site definitions were stored in the registry. If so, that's very stupid but anywaqy, how can I get them from the old registry file into the new installation?
    Thanks for your help.

    This post should help:
    http://forums.adobe.com/thread/439283

Maybe you are looking for

  • Flash player crashes in IE7 Beta 3

    I have a couple of computers with XP Pro (all fully patched) with Beta 3 of IE7. The Flash Player ocx is crashing frequently but most often when looking at Flex 2 sites. All seems pretty fine in Firefox but that is not the answer as I am looking at d

  • Safari wont say open

    i try to open safari and my fire fox but the only sites i can go to is google and apple if some on could help i would be much thankful Process: Safari [176] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 4

  • How to Create One Full EJB Application?

    Hi, Does Anyone knows how to Create the EJB Application, as JSP as The Client using Eclipse and Weblogic? Thanks in Advance, Sundar

  • Use SWF to play another SWF

    I've been looking over the net for a while and couldn't find the answer, so I figured I would try here.  I'm designing a website, where there is a swf file on the right, and a swf file on the left. I want the one on the left to be able to communicate

  • IPhoto - Backup failure after transfer to new Mac

    I just migrated everything over from my iMac to the new Mac Pro and plugged in the external hard drive I'd been using to back files up using the .Mac utility "Backup." I made no changes to the schedules I'd set up previously. All backup schedules are