Update MediaBrowser.Common/Net/INetworkManager.cs

Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
pull/3007/head
BaronGreenback 5 years ago committed by GitHub
parent 61e65d032e
commit 5e1be0d4f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,7 @@ namespace MediaBrowser.Common.Net
/// Checks if the given address falls within the ranges given in [subnets]. The addresses in subnets can be hosts or subnets in the CIDR format. /// Checks if the given address falls within the ranges given in [subnets]. The addresses in subnets can be hosts or subnets in the CIDR format.
/// </summary> /// </summary>
/// <param name="addressString">The address to check</param> /// <param name="addressString">The address to check</param>
/// <param name="subnets">If true, check against addresses in the LAN settings which have [] arroud and return true if it matches the address give in address</param> /// <param name="subnets">If true, check against addresses in the LAN settings surrounded by brackets ([])</param>
/// <returns><c>false</c>if the address isn't in the subnets, <c>true</c> otherwise</returns> /// <returns><c>false</c>if the address isn't in the subnets, <c>true</c> otherwise</returns>
bool IsAddressInSubnets(string addressString, string[] subnets); bool IsAddressInSubnets(string addressString, string[] subnets);

Loading…
Cancel
Save