C# Class MirrorSUPINFO.Components.ComponentModel.Providers.Networking.NetworkManager

Inheritance: INetworkService
ファイルを表示 Open project: veler/MirrorSUPINFO Class Usage Examples

Public Methods

Method Description
ConnectToNetworkAsync ( WiFiAvailableNetwork network, bool autoConnect ) : Task
ConnectToNetworkWithPasswordAsync ( WiFiAvailableNetwork network, bool autoConnect, PasswordCredential password ) : Task
DisconnectNetwork ( WiFiAvailableNetwork network ) : void
GetAvailableNetworksAsync ( ) : Task>
GetCurrentIpv4Address ( ) : string
GetCurrentNetworkName ( ) : string
GetCurrentWifiNetwork ( ) : WiFiAvailableNetwork
GetDirectConnectionName ( ) : string
GetNetworkInformationAsync ( ) : Task>
IsNetworkOpen ( WiFiAvailableNetwork network ) : bool
NetworkManager ( ) : System
WifiIsAvailableAsync ( ) : Task

Private Methods

Method Description
GetProvider ( ) : NetworkManager

Get an instance of NetworkManager

HasSsid ( WiFiAdapter>.Dictionary resultCollection, string ssid ) : bool
Internet_InternetConnectionChanged ( object sender, InternetConnectionChangedEventArgs args ) : void
TestAccessAsync ( ) : Task
UpdateInfoAsync ( ) : Task

Method Details

ConnectToNetworkAsync() public method

public ConnectToNetworkAsync ( WiFiAvailableNetwork network, bool autoConnect ) : Task
network WiFiAvailableNetwork
autoConnect bool
return Task

ConnectToNetworkWithPasswordAsync() public method

public ConnectToNetworkWithPasswordAsync ( WiFiAvailableNetwork network, bool autoConnect, PasswordCredential password ) : Task
network WiFiAvailableNetwork
autoConnect bool
password Windows.Security.Credentials.PasswordCredential
return Task

DisconnectNetwork() public method

public DisconnectNetwork ( WiFiAvailableNetwork network ) : void
network WiFiAvailableNetwork
return void

GetAvailableNetworksAsync() public method

public GetAvailableNetworksAsync ( ) : Task>
return Task>

GetCurrentIpv4Address() public method

public GetCurrentIpv4Address ( ) : string
return string

GetCurrentNetworkName() public static method

public static GetCurrentNetworkName ( ) : string
return string

GetCurrentWifiNetwork() public method

public GetCurrentWifiNetwork ( ) : WiFiAvailableNetwork
return WiFiAvailableNetwork

GetDirectConnectionName() public static method

public static GetDirectConnectionName ( ) : string
return string

GetNetworkInformationAsync() public static method

public static GetNetworkInformationAsync ( ) : Task>
return Task>

IsNetworkOpen() public static method

public static IsNetworkOpen ( WiFiAvailableNetwork network ) : bool
network WiFiAvailableNetwork
return bool

NetworkManager() public method

public NetworkManager ( ) : System
return System

WifiIsAvailableAsync() public method

public WifiIsAvailableAsync ( ) : Task
return Task