mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 03:11:02 +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()
|
||
|
}
|