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
Copy file name to clipboardExpand all lines: nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,12 @@ public WirelessAPConfiguration(uint id)
121
121
/// <remarks>
122
122
/// Checks the length of SSID is 32 or less.
123
123
/// Password length is between 8 and 64 if not an open Authentication.
124
+
/// Max connections has to be greater than zero.
124
125
/// </remarks>
126
+
/// <exception cref="ArgumentOutOfRangeException">If <see cref="MaxConnections"/> is less than one.</exception>
127
+
/// <exception cref="ArgumentOutOfRangeException">If <see cref="Password"/> is less than 8 character or more than 64 characters and not open <see cref="Authentication"/>.</exception>
128
+
/// <exception cref="ArgumentOutOfRangeException">If <see cref="Ssid"/> is longer than <see cref="MaxApSsidLength"/><./exception>
129
+
/// <exception cref="ArgumentNullException">If <see cref="Ssid"/> is <see langword="null"/>.</exception>
125
130
publicvoidSaveConfiguration()
126
131
{
127
132
// Before we update validate whether settings conform to right characteristics.
@@ -130,6 +135,13 @@ public void SaveConfiguration()
130
135
UpdateConfiguration();
131
136
}
132
137
138
+
/// <summary>
139
+
/// Validates the wireless Soft AP configuration information
140
+
/// </summary>
141
+
/// <exception cref="ArgumentOutOfRangeException">If <see cref="MaxConnections"/> is less than one.</exception>
142
+
/// <exception cref="ArgumentOutOfRangeException">If <see cref="Password"/> is less than 8 character or more than 64 characters and not open <see cref="Authentication"/>.</exception>
143
+
/// <exception cref="ArgumentOutOfRangeException">If <see cref="Ssid"/> is longer than <see cref="MaxApSsidLength"/><./exception>
144
+
/// <exception cref="ArgumentNullException">If <see cref="Ssid"/> is <see langword="null"/>.</exception>
0 commit comments