rakslice / macemu

Basilisk II and SheepShaver Macintosh emulators
0 stars 0 forks source link

More general Windows TAP device version support in the GUI #61

Closed rakslice closed 3 years ago

rakslice commented 3 years ago

cat7 mentioned a particular windows TAP version already on the system, probably around from a previous install of something, not being detected by the GUI here: https://github.com/kanjitalk755/macemu/issues/58#issuecomment-700532151

The code in util_windows.cpp enumerates the available tap network adapters on the system by going through all the present network adapters according to the registry and matching their ComponentId string property against a list of known values for tap adapters; currently this is just two values:

There may be others "in the wild". Moreover anyone could rebuild the tap driver and customize this value in the source (https://github.com/OpenVPN/tap-windows6/blob/154d825af1d4e6f493b561fc6dd06a7d58ac2235/version.m4#L7); is there some more canonical way to detect that a given enumerable network adapter is indeed a tap adapter?