Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. How to unbind a network protocol ?

How to unbind a network protocol ?

Scheduled Pinned Locked Moved Article Writing
sysadminjsontutorialquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I need to write an app to programmatically unbind a certain protocol from a network card. E.g. Check if Netbeui is bound to a certain ethernet network card and if so then I need to unbind it (without user intervention). The idea is that after running the app only TCP/IP would be bound to the ethernet card no matter what additional protocols are installed on the computer. I've got it working in Win2k (with the use of the INetCfg API calls) but I can't find any API calls or code examples on how to this in Win98/Win Me and NT4. Any ideas? :confused:

    L 1 Reply Last reply
    0
    • L Lost User

      I need to write an app to programmatically unbind a certain protocol from a network card. E.g. Check if Netbeui is bound to a certain ethernet network card and if so then I need to unbind it (without user intervention). The idea is that after running the app only TCP/IP would be bound to the ethernet card no matter what additional protocols are installed on the computer. I've got it working in Win2k (with the use of the INetCfg API calls) but I can't find any API calls or code examples on how to this in Win98/Win Me and NT4. Any ideas? :confused:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      > I've got it working in Win2k (with the use of the INetCfg > API calls) but I can't find any API calls or code examples > on how to this in Win98/Win Me and NT4. Any ideas? No. AFAIK this is impossible using published API. MS never been much of a team player in this area... You could however have some luck looking at the .inf files and perhaps convince the script interpreter to remove it. If not, the only solution I know of is the old true-and-proven-that-takes-forever: disassembling MS' code. Not much of an answer, but at least better than silence... Sorry for the "no way" reply.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups