// Enable will enable this net adapter
Enable will enable this net adapter
// Enable will enable this net adapter
func (n *NetAdapter) Enable() error {
	n.lock.Lock()
	defer n.lock.Unlock()
	if n.State != 3 {
		return nil
	}
	res, err := n.callFunction("Enable")
	if err != nil {
		return err
	}
	n = res
	return nil
}
func ( n * NetAdapter ) Enable ( ) error { n . lock . Lock ( ) defer n . lock . Unlock ( ) if n . State != 3 { return nil } res , err := n . callFunction ( " " ) if err != nil { return err } n = res return nil }
Enable will enable this net adapter
Enable will enable this net adapter