Jump to content

Search the Community

Showing results for tags 'AddIPAddress'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hello everybody. Few months ago, I've written a >network UDF. The functions witch configure the network use WMI to do that (ex : EnableStatic method for changing the IP adress) But now, I'm looking for a way to avoid using WMI, because somethimes, on some computers, WMI may not work. I do not want to use an external tool or command (like netsh). I've search for a solution on MSDN with the WinAPI fonctions (IP Helper). The functions that would allow me to add or delete an IP adress are AddIPAddress and DeleteIPAddress. But as the MSDN says : - The IPv4 address added by the AddIPAddress function is not persistent. - To create an IPv4 address that persists, the EnableStatic method of the Win32_NetworkAdapterConfiguration Class Unfortunately, I don't know if there is another solution than using wmi... My idea is to change the IP adress in the registry and then use AddIPAddress to apply the modification without restarting Windows. Firstly : do you think my idea is realiable ? Secondly : how can I use the AddIPAddress function ? (I'm not good at all with using WinAPI) Thanks for your help and suggestions.
×
×
  • Create New...