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: WhoisClient.NET/WhoisClient.cs
+53-21Lines changed: 53 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -33,12 +33,12 @@ public class WhoisClient
33
33
/// <param name="server">FQDN of whois server (ex."whois.arin.net"). This parameter is optional (default value is null) to determine server automatically.</param>
34
34
/// <param name="port">TCP port number to connect whois server. This parameter is optional, and default value is 43.</param>
35
35
/// <param name="encoding">Encoding method to decode the result of query. This parameter is optional (default value is null) to using ASCII encoding.</param>
36
-
/// <param name="timeout">A timespan to limit the connection attempt, in seconds.</param>
36
+
/// <param name="timeout">A timespan to limit the connection attempt, in milliseconds.</param>
37
37
/// <param name="retries">The number of times a connection will be attempted.</param>
38
38
/// <returns>The strong typed result of query which responded from WHOIS server.</returns>
39
39
[Obsolete("Use the 'Query(string query, WhoisQueryOptions options)' instead."),EditorBrowsable(EditorBrowsableState.Never)]
/// <param name="server">FQDN of whois server (ex."whois.arin.net"). This parameter is optional (default value is null) to determine server automatically.</param>
71
71
/// <param name="port">TCP port number to connect whois server. This parameter is optional, and default value is 43.</param>
72
72
/// <param name="encoding">Encoding method to decode the result of query. This parameter is optional (default value is null) to using ASCII encoding.</param>
73
-
/// <param name="timeout">A timespan to limit the connection attempt, in seconds.</param>
73
+
/// <param name="timeout">A timespan to limit the connection attempt, in milliseconds.</param>
74
74
/// <param name="retries">The number of times a connection will be attempted.</param>
75
75
/// <param name="token">The token to monitor for cancellation requests.</param>
76
76
/// <returns>The strong typed result of query which responded from WHOIS server.</returns>
77
77
[Obsolete("Use the 'QueryAsync(string query, WhoisQueryOptions options, CancellationToken token)' instead."),EditorBrowsable(EditorBrowsableState.Never)]
/// <param name="server">FQDN of whois server (ex."whois.arin.net").</param>
235
235
/// <param name="port">TCP port number to connect whois server. This parameter is optional, and default value is 43.</param>
236
236
/// <param name="encoding">Encoding method to decode the result of query. This parameter is optional (default value is null) to using ASCII encoding.</param>
237
-
/// <param name="timeout">A timespan to limit the connection attempt, in seconds. Function returns empty string if it times out.</param>
237
+
/// <param name="timeout">A timespan to limit the connection attempt, in milliseconds. Function returns empty string if it times out.</param>
238
238
/// <returns>The raw data decoded by encoding parameter from the WHOIS server that responded, or an empty string if a connection cannot be established.</returns>
239
239
[Obsolete("Use the 'RawQuery(string query, WhoisQueryOptions options)' instead."),EditorBrowsable(EditorBrowsableState.Never)]
/// <param name="server">FQDN of whois server (ex."whois.arin.net").</param>
350
350
/// <param name="port">TCP port number to connect whois server. This parameter is optional, and default value is 43.</param>
351
351
/// <param name="encoding">Encoding method to decode the result of query. This parameter is optional (default value is null) to using ASCII encoding.</param>
352
-
/// <param name="timeout">A timespan to limit the connection attempt, in seconds. Function returns empty string if it times out.</param>
352
+
/// <param name="timeout">A timespan to limit the connection attempt, in milliseconds. Function returns empty string if it times out.</param>
353
353
/// <param name="token">The token to monitor for cancellation requests.</param>
354
354
/// <returns>The raw data decoded by encoding parameter from the WHOIS server that responded, or an empty string if a connection cannot be established.</returns>
355
355
[Obsolete("Use the 'RawQueryAsync(string query, WhoisQueryOptions options, CancellationToken token)' instead."),EditorBrowsable(EditorBrowsableState.Never)]
0 commit comments