Esempio n. 1
0
 /// <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);
Esempio n. 2
0
 /// <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);
Esempio n. 3
0
 /// <summary>
 /// Disconnects from the wireless LAN associated to a specified wireless interface.
 /// </summary>
 public bool DisconnectNetwork(Guid interfaceId) =>
 NativeWifi.DisconnectNetwork(_client, interfaceId);
Esempio n. 4
0
 /// <summary>
 /// Deletes a specified wireless profile.
 /// </summary>
 public bool DeleteProfile(Guid interfaceId, string profileName) =>
 NativeWifi.DeleteProfile(_client, interfaceId, profileName);
Esempio n. 5
0
 /// <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);
Esempio n. 6
0
 /// <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);
Esempio n. 7
0
 /// <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);
Esempio n. 8
0
 /// <summary>
 /// Enumerates wireless LAN information on BSS networks.
 /// </summary>
 public IEnumerable <BssNetworkPack> EnumerateBssNetworks() =>
 NativeWifi.EnumerateBssNetworks(_client);
Esempio n. 9
0
 /// <summary>
 /// Enumerates wireless profile information in preference order.
 /// </summary>
 public IEnumerable <ProfilePack> EnumerateProfiles() =>
 NativeWifi.EnumerateProfiles(_client);
Esempio n. 10
0
 /// <summary>
 /// Enumerates wireless LAN information on available wireless LANs.
 /// </summary>
 public IEnumerable <AvailableNetworkPack> EnumerateAvailableNetworks() =>
 NativeWifi.EnumerateAvailableNetworks(_client);
Esempio n. 11
0
 /// <summary>
 /// Enumerates SSIDs of connected wireless LANs.
 /// </summary>
 public IEnumerable <NetworkIdentifier> EnumerateConnectedNetworkSsids() =>
 NativeWifi.EnumerateConnectedNetworkSsids(_client);
Esempio n. 12
0
 /// <summary>
 /// Enumerates SSIDs of available wireless LANs.
 /// </summary>
 public IEnumerable <NetworkIdentifier> EnumerateAvailableNetworkSsids() =>
 NativeWifi.EnumerateAvailableNetworkSsids(_client);
Esempio n. 13
0
 /// <summary>
 /// Asynchronously requests wireless interfaces to scan wireless LANs.
 /// </summary>
 public Task <IEnumerable <Guid> > ScanNetworksAsync(TimeSpan timeout, CancellationToken cancellationToken) =>
 NativeWifi.ScanNetworksAsync(_client, timeout, cancellationToken);
Esempio n. 14
0
 /// <summary>
 /// Enumerates wireless interface information.
 /// </summary>
 public IEnumerable <InterfaceInfo> EnumerateInterfaces() =>
 NativeWifi.EnumerateInterfaces(_client);