mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-13 10:21:10 +01:00
11 lines
285 B
Go
11 lines
285 B
Go
|
package iface
|
||
|
|
||
|
import (
|
||
|
"github.com/netbirdio/netbird/client/iface/device"
|
||
|
)
|
||
|
|
||
|
// GetInterfaceGUIDString returns an interface GUID. This is useful on Windows only
|
||
|
func (w *WGIface) GetInterfaceGUIDString() (string, error) {
|
||
|
return w.tun.(*device.TunDevice).GetInterfaceGUIDString()
|
||
|
}
|