Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// WiFi接続
CancellationTokenSource cs = new(60000);
while (!WifiNetworkHelper.ConnectDhcp(Ssid, Password, requiresDateTime: true, token: cs.Token))
Debug.WriteLine($"Can't connect to the network, error: {WifiNetworkHelper.Status}");
if (WifiNetworkHelper.HelperException != null)
Debug.WriteLine($"ex: {WifiNetworkHelper.HelperException}");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment