Hey there,
I'm interested in getting the Connection Profile of an Adapter. It's in a different section of the windows api sadly. It's the thing that says if a network is "private" or "public".
If I figure out how to do this FFI stuff, would you take a PR?
get-netconnectionprofile
Name : Network
InterfaceAlias : Ethernet
InterfaceIndex : 7
NetworkCategory : Private
DomainAuthenticationKind : None
IPv4Connectivity : Internet
IPv6Connectivity : Internet
Hey there, I'm interested in getting the Connection Profile of an Adapter. It's in a different section of the windows api sadly. It's the thing that says if a network is "private" or "public".
If I figure out how to do this FFI stuff, would you take a PR?
https://learn.microsoft.com/en-us/windows/win32/api/netlistmgr/nf-netlistmgr-inetwork-getcategory