You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -191,6 +191,26 @@ public static WifiAdapter[] FindAllAdapters()
191
191
returnadapters;
192
192
}
193
193
194
+
/// <summary>
195
+
/// Sets the device name advertised by this Wi-Fi adapter when connecting to a network.
196
+
/// </summary>
197
+
/// <param name="deviceName">The device name to assign to this adapter.</param>
198
+
/// <exception cref="ArgumentException">If <paramref name="deviceName"/> is <see langword="null"/>, empty or the length over 32 characters.</exception>
199
+
/// <remarks>
200
+
/// The device name is sent to the access point during connection and may appear in the router’s
201
+
/// client list or DHCP lease table.
202
+
/// This method must be called before initiating a connection to take effect.
0 commit comments