示例#1
0
        public async Task <bool> DisconnectAsync(ProfileItem profileItem, TimeSpan timeoutDuration)
        {
            if (profileItem == null)
            {
                throw new ArgumentNullException(nameof(profileItem));
            }

            return(await NativeWifi.DisconnectAsync(profileItem.InterfaceGuid, timeoutDuration));
        }