/// <summary> /// Renames a specified wireless profile. /// </summary> public bool RenameProfile(Guid interfaceId, string oldProfileName, string newProfileName) => NativeWifi.RenameProfile(_client, interfaceId, oldProfileName, newProfileName);
/// <summary> /// Deletes a specified wireless profile. /// </summary> public bool DeleteProfile(Guid interfaceId, string profileName) => NativeWifi.DeleteProfile(_client, interfaceId, profileName);
/// <summary> /// Sets (adds or overwrites) the content of a specified wireless profile. /// </summary> public bool SetProfile(Guid interfaceId, ProfileType profileType, string profileXml, string profileSecurity, bool overwrite) => NativeWifi.SetProfile(_client, interfaceId, profileType, profileXml, profileSecurity, overwrite);
/// <summary> /// Sets the position of a specified wireless profile in preference order. /// </summary> public bool SetProfilePosition(Guid interfaceId, string profileName, int position) => NativeWifi.SetProfilePosition(_client, interfaceId, profileName, position);
/// <summary> /// Sets the Extensible Authentication Protocol (EAP) user credentials as specified by an XML string. /// </summary> public bool SetEAPProfile(Guid interfaceId, string profileName, string userDataXML) => NativeWifi.SetEAPProfile(_client, interfaceId, profileName, userDataXML);
/// <summary> /// Enumerates wireless profile and related radio information in preference order. /// </summary> public IEnumerable <ProfileRadioPack> EnumerateProfileRadios() => NativeWifi.EnumerateProfileRadios(_client);
/// <summary> /// Enumerates SSIDs of connected wireless LANs. /// </summary> public IEnumerable <NetworkIdentifier> EnumerateConnectedNetworkSsids() => NativeWifi.EnumerateConnectedNetworkSsids(_client);
/// <summary> /// Disconnects from the wireless LAN associated to a specified wireless interface. /// </summary> public bool DisconnectNetwork(Guid interfaceId) => NativeWifi.DisconnectNetwork(_client, interfaceId);
/// <summary> /// Asynchronously requests wireless interfaces to scan wireless LANs. /// </summary> public Task <IEnumerable <Guid> > ScanNetworksAsync(TimeSpan timeout, CancellationToken cancellationToken) => NativeWifi.ScanNetworksAsync(_client, timeout, cancellationToken);
/// <summary> /// Enumerates SSIDs of available wireless LANs. /// </summary> public IEnumerable <NetworkIdentifier> EnumerateAvailableNetworkSsids() => NativeWifi.EnumerateAvailableNetworkSsids(_client);
/// <summary> /// Enumerates wireless interface and related connection information. /// </summary> public IEnumerable <InterfaceConnectionInfo> EnumerateInterfaceConnections() => NativeWifi.EnumerateInterfaceConnections(_client);
/// <summary> /// Enumerates wireless interface information. /// </summary> public IEnumerable <InterfaceInfo> EnumerateInterfaces() => NativeWifi.EnumerateInterfaces(_client);
/// <summary> /// Turns off the radio of a specified wireless interface (software radio state only). /// </summary> public bool TurnOffInterfaceRadio(Guid interfaceId) => NativeWifi.TurnInterfaceRadio(_client, interfaceId, DOT11_RADIO_STATE.dot11_radio_state_off);
/// <summary> /// Attempts to connect to the wireless LAN associated to a specified wireless profile. /// </summary> public bool ConnectNetwork(Guid interfaceId, string profileName, BssType bssType) => NativeWifi.ConnectNetwork(_client, interfaceId, profileName, bssType);
/// <summary> /// Enumerates wireless LAN information on available networks and group of associated BSS networks. /// </summary> public IEnumerable <AvailableNetworkGroupPack> EnumerateAvailableNetworkGroups() => NativeWifi.EnumerateAvailableNetworkGroups(_client);
/// <summary> /// Asynchronously attempts to connect to the wireless LAN associated to a specified wireless profile. /// </summary> public Task <bool> ConnectNetworkAsync(Guid interfaceId, string profileName, BssType bssType, TimeSpan timeout, CancellationToken cancellationToken) => NativeWifi.ConnectNetworkAsync(_client, interfaceId, profileName, bssType, timeout, cancellationToken);
/// <summary> /// Enumerates wireless LAN information on BSS networks. /// </summary> public IEnumerable <BssNetworkPack> EnumerateBssNetworks() => NativeWifi.EnumerateBssNetworks(_client);
/// <summary> /// Asynchronously disconnects from the wireless LAN associated to a specified wireless interface. /// </summary> public Task <bool> DisconnectNetworkAsync(Guid interfaceId, TimeSpan timeout, CancellationToken cancellationToken) => NativeWifi.DisconnectNetworkAsync(_client, interfaceId, timeout, cancellationToken);
/// <summary> /// Enumerates wireless profile names in preference order. /// </summary> public IEnumerable <string> EnumerateProfileNames() => NativeWifi.EnumerateProfileNames(_client);