How to properly detect PPP/RAS adapter

Home Forums Discussions General How to properly detect PPP/RAS adapter

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4922
    greenuid
    Participant

      Is there any ‘proper’ way to detect whether adapter is PPP (e.g. modem)?

      I’m currently comparing adapter name to DEVICENDISWANIP but is there any other, name-independent way? (I’m afraid of name comparison because seems like it could change in upcoming versions).

      #5734
      Vadim Smirnov
      Keymaster

        You can also use medium type. See parameters passed/returned to/from NdisOpenAdapter: SelectedMediumIndex, MediumArray.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.